diff --git a/.gitea/workflows/build-xmrig.yaml b/.gitea/workflows/build-xmrig.yaml index be2a4e1..05c5679 100644 --- a/.gitea/workflows/build-xmrig.yaml +++ b/.gitea/workflows/build-xmrig.yaml @@ -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)