Skip to content

Commit

Permalink
enable sccache
Browse files Browse the repository at this point in the history
  • Loading branch information
killmeplz committed Jan 31, 2022
1 parent 29060eb commit 69d7496
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docker-compose-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,12 @@ services:
- .:/usr/src/zksync
- /usr/src/cache:/usr/src/cache
- /usr/src/keys:/usr/src/keys
- /etc/sa_secret:/etc/sa_secret
environment:
- IN_DOCKER=true
- CACHE_DIR=/usr/src/cache
- SCCACHE_CACHE_SIZE=50g
- SCCACHE_GCS_BUCKET=sccache-zksync-ci
- SCCACHE_GCS_KEY_PATH=/etc/sa_secret/sa_key.json
- SCCACHE_GCS_RW_MODE=READ_WRITE
- CI=1
1 change: 0 additions & 1 deletion docker/zk-environment/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@ ENV PATH="${ZKSYNC_HOME}/bin:${PATH}"
ENV CI=1
RUN cargo install sccache
ENV RUSTC_WRAPPER=/usr/local/cargo/bin/sccache
ENV SCCACHE_DIR=/usr/src/cache/sccache

0 comments on commit 69d7496

Please sign in to comment.