diff options
| author | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2025-07-10 12:47:43 +0200 |
|---|---|---|
| committer | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2025-07-10 12:47:43 +0200 |
| commit | fa56573c6d811b94868704480a58c016d1860504 (patch) | |
| tree | be48669f65adc9d2b4898248b644ae4643d805cb | |
| parent | 1ebf8ba326c9639587ad007d0cf9a4aeed9d18bb (diff) | |
fix: github CI: depracate GitHub cache, fix DEPENDS_UNTRUSTED_FAST_BUILDS
| -rw-r--r-- | .github/workflows/full_check.yaml | 35 | ||||
| -rwxr-xr-x | build_single.sh | 2 |
2 files changed, 1 insertions, 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 |
