diff --git a/.gitea/workflows/build-xmrig.yaml b/.gitea/workflows/build-xmrig.yaml index 9311034..e33af98 100644 --- a/.gitea/workflows/build-xmrig.yaml +++ b/.gitea/workflows/build-xmrig.yaml @@ -13,19 +13,20 @@ jobs: steps: - name: Install dependencies 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 run: | git clone https://github.com/xmrig/xmrig.git - - name: Build static libraries - run: | - cd xmrig/scripts && ./build_deps.sh + # - name: Build static libraries + # run: | + # cd xmrig/scripts && ./build_deps.sh - name: Build binary run: | 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)