29 lines
587 B
YAML
29 lines
587 B
YAML
name: Build XMRig ARM64
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- arm64
|
|
|
|
jobs:
|
|
qemu:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v3
|
|
with:
|
|
platforms: linux/arm64
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
with:
|
|
platforms: linux/arm64
|
|
|
|
- name: Run ARM64 container
|
|
run: |
|
|
docker run --rm --platform linux/arm64 ubuntu:24.04 /bin/bash -c "
|
|
apt-get update &&
|
|
apt-get install -y neofetch &&
|
|
neofetch
|
|
"
|