From fa56573c6d811b94868704480a58c016d1860504 Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Thu, 10 Jul 2025 12:47:43 +0200 Subject: fix: github CI: depracate GitHub cache, fix DEPENDS_UNTRUSTED_FAST_BUILDS --- .github/workflows/full_check.yaml | 35 ----------------------------------- build_single.sh | 2 +- 2 files changed, 1 insertion(+), 36 deletions(-) diff --git a/.github/workflows/full_check.yaml b/.github/workflows/full_check.yaml index 985caa2..8b0563a 100644 --- a/.github/workflows/full_check.yaml +++ b/.github/workflows/full_check.yaml @@ -31,13 +31,6 @@ jobs: uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.job }} - - name: Cache built - if: ${{ !startsWith(github.ref, 'refs/tags/v') }} - uses: actions/cache@v4 - with: - path: | - contrib/depends/built/* - key: depends-${{ github.job }}-${{ hashFiles('contrib/depends/packages/*.mk') }} - name: x86_64-w64-mingw32 run: | env DEPENDS_UNTRUSTED_FAST_BUILDS=forced ./build_single.sh monero x86_64-w64-mingw32 -j$(nproc) @@ -111,13 +104,6 @@ jobs: uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.job }} - - name: Cache built - if: ${{ !startsWith(github.ref, 'refs/tags/v') }} - uses: actions/cache@v4 - with: - path: | - contrib/depends/built/* - key: depends-${{ github.job }}-${{ hashFiles('contrib/depends/packages/*.mk') }} - name: monero run: | env DEPENDS_UNTRUSTED_FAST_BUILDS=forced ./build_single.sh monero x86_64-linux-android -j$(nproc) @@ -200,13 +186,6 @@ jobs: uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.job }} - - name: Cache built - if: ${{ !startsWith(github.ref, 'refs/tags/v') }} - uses: actions/cache@v4 - with: - path: | - contrib/depends/built/* - key: depends-${{ github.job }}-${{ hashFiles('contrib/depends/packages/*.mk') }} - name: x86_64-linux-gnu run: | env DEPENDS_UNTRUSTED_FAST_BUILDS=forced ./build_single.sh monero x86_64-linux-gnu -j$(nproc) @@ -288,13 +267,6 @@ jobs: uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.job }} - - name: Cache built - if: ${{ !startsWith(github.ref, 'refs/tags/v') }} - uses: actions/cache@v4 - with: - path: | - contrib/depends/built/* - key: depends-${{ github.job }}-${{ hashFiles('contrib/depends/packages/*.mk') }} - name: build (aarch64-apple-darwin) run: | env DEPENDS_UNTRUSTED_FAST_BUILDS=forced ./build_single.sh monero aarch64-apple-darwin -j$(sysctl -n hw.logicalcpu) @@ -371,13 +343,6 @@ jobs: uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.job }} - - name: Cache built - if: ${{ !startsWith(github.ref, 'refs/tags/v') }} - uses: actions/cache@v4 - with: - path: | - contrib/depends/built/* - key: depends-${{ github.job }}-${{ hashFiles('contrib/depends/packages/*.mk') }} - name: build (aarch64-apple-ios) run: | env DEPENDS_UNTRUSTED_FAST_BUILDS=forced ./build_single.sh monero aarch64-apple-ios -j$(sysctl -n hw.logicalcpu) diff --git a/build_single.sh b/build_single.sh index c0ace0d..77d5a52 100755 --- a/build_single.sh +++ b/build_single.sh @@ -59,7 +59,7 @@ pushd contrib/depends then echo "Not building depends, directory exists" else - env -i PATH="$PATH" CC=gcc CXX=g++ make "$NPROC" HOST="$HOST_ABI" + env -i PATH="$PATH" CC=gcc CXX=g++ make "$NPROC" HOST="$HOST_ABI" DEPENDS_UNTRUSTED_FAST_BUILDS=$DEPENDS_UNTRUSTED_FAST_BUILDS fi popd -- cgit v1.2.3