From 2f0158b451a2591e049660070076def17eb5906d Mon Sep 17 00:00:00 2001 From: NyanRus <68762426+nyanrus@users.noreply.github.com> Date: Sat, 22 Jun 2024 21:18:34 +0900 Subject: [PATCH] wip --- .github/workflows/integration-tests.yml | 18 ++---------------- docs/Configuration.md | 2 +- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 97583cbf9..dcd1edb6c 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -869,7 +869,7 @@ jobs: with: toolchain: "stable" - - name: 💾 test-default-save + - name: 💾 test-default-save ------------------------------- run: | export SCCACHE_DIR=${PWD}/temp-test/zstd-level/default cargo build @@ -880,21 +880,7 @@ jobs: cargo clean && cargo build - name: 🖨️ Stats-use run: ${SCCACHE_PATH} --show-stats - - name: 💾 test-lv5-save - run: | - export SCCACHE_DIR=${PWD}/temp-test/zstd-level/5 - export SCCACHE_CACHE_ZSTD_LEVEL=5 - ${SCCACHE_PATH} --stop-server > /dev/null - cargo clean - cargo build - - name: 🖨️ Stats-save - run: ${SCCACHE_PATH} --show-stats - - name: 💽 test-lv5-use - run: | - cargo clean && cargo build - - name: 🖨️ Stats-use - run: ${SCCACHE_PATH} --show-stats - - name: 💾 test-lv10-save + - name: 💾 test-lv10-save ------------------------------- run: | export SCCACHE_DIR=${PWD}/temp-test/zstd-level/10 export SCCACHE_CACHE_ZSTD_LEVEL=10 diff --git a/docs/Configuration.md b/docs/Configuration.md index 4fbb3b067..e60e0f76e 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -133,7 +133,7 @@ configuration variables * `SCCACHE_MAX_FRAME_LENGTH` how much data can be transferred between client and server * `SCCACHE_NO_DAEMON` set to `1` to disable putting the server to the background * `SCCACHE_CACHE_MULTIARCH` to disable caching of multi architecture builds. -* `SCCACHE_CACHE_ZSTD_LEVEL` to set zstd compression level of cache. the range is `1-22` and default is `3`. +* `SCCACHE_CACHE_ZSTD_LEVEL` to set zstd compression level of cache. the range is `1-22` and default is `3`. For example, in `10`, about 90% size with about 160% time than default `3` for making cache of compiling sccache code. ### cache configs