diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 50eba54584..eca690494d 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -339,7 +339,8 @@ jobs: - name: Run cargo build run: | ${cov_prefix} mold -run cargo build $CARGO_FLAGS $CARGO_FEATURES --bins --tests - sccache -s + + - run: sccache --show-stats # Do install *before* running rust tests because they might recompile the # binaries with different features/flags. @@ -409,6 +410,8 @@ jobs: export REMOTE_STORAGE_AZURE_REGION="${{ vars.REMOTE_STORAGE_AZURE_REGION }}" ${cov_prefix} cargo nextest run $CARGO_FLAGS $CARGO_FEATURES -E 'package(remote_storage)' -E 'test(test_real_azure)' + - run: sccache --show-stats + - name: Install postgres binaries run: cp -a pg_install /tmp/neon/pg_install diff --git a/Dockerfile b/Dockerfile index ce2da7bc97..cded75ec7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,7 +56,7 @@ RUN set -e \ --bin proxy \ --bin neon_local \ --locked --release \ - && sccache -s + && sccache --show-stats # Build final image #