From bd6b8b6a652e0c63e09505e95e7d9c456c631170 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Wed, 13 Aug 2025 11:51:19 +1000 Subject: [PATCH] Disable sccache to fix Windows builds (#7867) Quick fix to unblock Windows CI. I have a hammer and I'm using it. --- .cargo/config.toml | 4 ++++ .github/workflows/test-suite.yml | 15 +++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index a408305c4d..00f716825e 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,3 +1,7 @@ [env] # Set the number of arenas to 16 when using jemalloc. JEMALLOC_SYS_WITH_MALLOC_CONF = "abort_conf:true,narenas:16" + +# FIXME: sccache temporarily disabled due to Windows issues +[build] +rustc-wrapper = "" diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index ac496f1f20..617c5258bf 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -28,6 +28,9 @@ env: CARGO_INCREMENTAL: 0 # Enable portable to prevent issues with caching `blst` for the wrong CPU type TEST_FEATURES: portable + # FIXME: sccache disabled + RUSTC_WRAPPER: "" + SCCACHE_CACHE_SIZE: 0 jobs: check-labels: runs-on: ubuntu-latest @@ -104,7 +107,7 @@ jobs: - name: Run tests in release run: make nextest-release - name: Show cache stats - if: env.SELF_HOSTED_RUNNERS == 'true' + if: env.SELF_HOSTED_RUNNERS == 'true' && false run: sccache --show-stats release-tests-windows: name: release-tests-windows @@ -135,7 +138,7 @@ jobs: - name: Run tests in release run: make nextest-release - name: Show cache stats - if: env.SELF_HOSTED_RUNNERS == 'true' + if: env.SELF_HOSTED_RUNNERS == 'true' && false run: sccache --show-stats beacon-chain-tests: name: beacon-chain-tests @@ -157,7 +160,7 @@ jobs: - name: Run beacon_chain tests for all known forks run: make test-beacon-chain - name: Show cache stats - if: env.SELF_HOSTED_RUNNERS == 'true' + if: env.SELF_HOSTED_RUNNERS == 'true' && false run: sccache --show-stats http-api-tests: name: http-api-tests @@ -179,7 +182,7 @@ jobs: - name: Run http_api tests for all recent forks run: make test-http-api - name: Show cache stats - if: env.SELF_HOSTED_RUNNERS == 'true' + if: env.SELF_HOSTED_RUNNERS == 'true' && false run: sccache --show-stats op-pool-tests: name: op-pool-tests @@ -267,7 +270,7 @@ jobs: - name: Run tests in debug run: make nextest-debug - name: Show cache stats - if: env.SELF_HOSTED_RUNNERS == 'true' + if: env.SELF_HOSTED_RUNNERS == 'true' && false run: sccache --show-stats state-transition-vectors-ubuntu: name: state-transition-vectors-ubuntu @@ -303,7 +306,7 @@ jobs: - name: Run consensus-spec-tests with blst and fake_crypto run: make nextest-ef - name: Show cache stats - if: env.SELF_HOSTED_RUNNERS == 'true' + if: env.SELF_HOSTED_RUNNERS == 'true' && false run: sccache --show-stats basic-simulator-ubuntu: name: basic-simulator-ubuntu