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