Update .gitea/workflows/build-xmrig.yaml
All checks were successful
Build XMRig / linux-amd64 (push) Successful in 3m42s
All checks were successful
Build XMRig / linux-amd64 (push) Successful in 3m42s
This commit is contained in:
parent
4110a20021
commit
b6808b8ea2
@ -13,22 +13,20 @@ jobs:
|
||||
steps:
|
||||
- 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 upx nodejs
|
||||
apk add git make cmake libstdc++ gcc g++ automake libtool autoconf linux-headers upx nodejs
|
||||
|
||||
- name: Fetch sources
|
||||
run: |
|
||||
git clone https://github.com/xmrig/xmrig.git
|
||||
|
||||
# - name: Build static libraries
|
||||
# run: |
|
||||
# cd xmrig/scripts && ./build_deps.sh
|
||||
- name: Build static libraries
|
||||
run: |
|
||||
cd xmrig/scripts && ./build_deps.sh
|
||||
|
||||
- name: Build binary
|
||||
run: |
|
||||
mkdir -p xmrig/build && cd xmrig/build
|
||||
#cmake .. -DXMRIG_DEPS=scripts/deps -DBUILD_STATIC=ON
|
||||
cmake ..
|
||||
cmake .. -DXMRIG_DEPS=scripts/deps -DBUILD_STATIC=ON
|
||||
make -j$(nproc)
|
||||
|
||||
- name: Compress executables
|
||||
|
Loading…
x
Reference in New Issue
Block a user