Update .gitea/workflows/build-xmrig-arm64.yaml
Some checks failed
Build XMRig ARM64 / qemu (push) Failing after 12s
Some checks failed
Build XMRig ARM64 / qemu (push) Failing after 12s
This commit is contained in:
parent
fee90cc691
commit
4013a55c42
@ -19,10 +19,19 @@ jobs:
|
||||
with:
|
||||
platforms: linux/arm64
|
||||
|
||||
- name: Run ARM64 container
|
||||
- name: Build in ARM64 container and export artifact
|
||||
run: |
|
||||
docker run --rm --platform linux/arm64 ubuntu:24.04 /bin/bash -c "
|
||||
apt-get update &&
|
||||
apt-get install -y neofetch &&
|
||||
neofetch
|
||||
mkdir -p /mnt
|
||||
docker run --rm --platform linux/arm64 -v /mnt:/mnt alpine:latest /bin/bash -c "
|
||||
apk add git make cmake libstdc++ gcc g++ libuv-dev openssl-dev hwloc-dev &&
|
||||
git clone https://github.com/xmrig/xmrig &&
|
||||
mkdir xmrig/build && cd xmrig/build &&
|
||||
cmake .. &&
|
||||
make -j$(nproc)
|
||||
"
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: christopherhx/gitea-upload-artifact@v4
|
||||
with:
|
||||
name: xmrig-linux-arm64
|
||||
path: /mnt/xmrig/build/xmrig
|
||||
|
Loading…
x
Reference in New Issue
Block a user