Update .gitea/workflows/build-xmrig.yaml
Some checks failed
Build XMRig / linux-amd64 (push) Failing after 8s
Some checks failed
Build XMRig / linux-amd64 (push) Failing after 8s
This commit is contained in:
parent
b5dd60f80b
commit
6fde97138d
@ -13,19 +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
|
||||||
|
apk add git make cmake libstdc++ gcc g++ libuv-dev openssl-dev hwloc-dev
|
||||||
|
|
||||||
- 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 $_
|
mkdir -p xmrig/build && cd $_
|
||||||
#cmake .. -DXMRIG_DEPS=scripts/deps -DBUILD_STATIC=ON -DWITH_EMBEDDED_CONFIG=ON
|
#cmake .. -DXMRIG_DEPS=scripts/deps -DBUILD_STATIC=ON
|
||||||
cmake .. -DXMRIG_DEPS=scripts/deps -DBUILD_STATIC=ON
|
cmake ..
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user