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:
|
steps:
|
||||||
- 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 upx nodejs
|
||||||
apk add git make cmake libstdc++ gcc g++ libuv-dev openssl-dev hwloc-dev upx nodejs
|
|
||||||
|
|
||||||
- name: Fetch sources
|
- name: Fetch sources
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/xmrig/xmrig.git
|
git clone https://github.com/xmrig/xmrig.git
|
||||||
|
|
||||||
# - name: Build static libraries
|
- name: Build static libraries
|
||||||
# run: |
|
run: |
|
||||||
# cd xmrig/scripts && ./build_deps.sh
|
cd xmrig/scripts && ./build_deps.sh
|
||||||
|
|
||||||
- name: Build binary
|
- name: Build binary
|
||||||
run: |
|
run: |
|
||||||
mkdir -p xmrig/build && cd xmrig/build
|
mkdir -p xmrig/build && cd xmrig/build
|
||||||
#cmake .. -DXMRIG_DEPS=scripts/deps -DBUILD_STATIC=ON
|
cmake .. -DXMRIG_DEPS=scripts/deps -DBUILD_STATIC=ON
|
||||||
cmake ..
|
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
|
|
||||||
- name: Compress executables
|
- name: Compress executables
|
||||||
|
Loading…
x
Reference in New Issue
Block a user