Update .gitea/workflows/build-xmrig.yaml
Some checks failed
Build XMRig / linux-amd64 (push) Failing after 1m45s

This commit is contained in:
2024-09-04 12:14:30 -04:00
parent 456d33321f
commit ee2ffbc54c

View File

@ -14,7 +14,7 @@ jobs:
- name: Install dependencies
run: |
#apk add git make cmake libstdc++ gcc g++ automake libtool autoconf linux-headers
apk add git make cmake libstdc++ gcc g++ libuv-dev openssl-dev hwloc-dev
apk add git make cmake libstdc++ gcc g++ libuv-dev openssl-dev hwloc-dev upx
- name: Fetch sources
run: |
@ -30,3 +30,15 @@ jobs:
#cmake .. -DXMRIG_DEPS=scripts/deps -DBUILD_STATIC=ON
cmake ..
make -j$(nproc)
- name: Compress executables
run: |
cd build
strip xmrig
upx xmrig
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: xmrig-linux-amd64
path: build/xmrig