Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nyanrus committed Jun 22, 2024
1 parent 9960cba commit 2f0158b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2f0158b

Please sign in to comment.