Update .gitea/workflows/build-xmrig.yaml
Some checks failed
Build XMRig / linux-amd64 (push) Failing after 1m45s
Some checks failed
Build XMRig / linux-amd64 (push) Failing after 1m45s
This commit is contained in:
@ -14,7 +14,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
#apk add git make cmake libstdc++ gcc g++ automake libtool autoconf linux-headers
|
#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
|
- name: Fetch sources
|
||||||
run: |
|
run: |
|
||||||
@ -30,3 +30,15 @@ jobs:
|
|||||||
#cmake .. -DXMRIG_DEPS=scripts/deps -DBUILD_STATIC=ON
|
#cmake .. -DXMRIG_DEPS=scripts/deps -DBUILD_STATIC=ON
|
||||||
cmake ..
|
cmake ..
|
||||||
make -j$(nproc)
|
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
|
||||||
|
Reference in New Issue
Block a user