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

This commit is contained in:
Liam Chan 2024-09-04 11:55:44 -04:00
parent 2ec7c02d22
commit 4121e67956

View File

@ -12,9 +12,8 @@ jobs:
container: alpine:3.20
steps:
- name: Fetch sources
uses: actions/checkout@v4
with:
repository: xmrig/xmrig
run: |
git clone https://github.com/xmrig/xmrig.git
- name: Install dependencies
run: |
@ -22,11 +21,11 @@ jobs:
- name: Build static libraries
run: |
cd scripts && ./build_deps.sh
cd xmrig/scripts && ./build_deps.sh
- name: Build binary
run: |
mkdir build && cd build
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
make -j$(nproc)