Skip to content

Commit

Permalink
feat: change ccache to sccache to cache rust too
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbaliasnikov committed Nov 19, 2024
1 parent d62e07e commit ae2bbe4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/build-llvm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ runs:
max-size: "2G"
verbose: 2
save: ${{ steps.ccache-save.outputs.save }}
variant: "sccache"

# CCACHE_BASEDIR, CCACHE_NOHASHDIR, and CCACHE_COMPILERCHECK
# are allowing to cache compiler output across different
Expand Down Expand Up @@ -169,4 +170,4 @@ runs:
fi
zksync-llvm build --target-env ${{ inputs.target-env }} ${DEFAULT_TARGET} --build-type ${{ inputs.build-type }} \
--use-ccache ${{ inputs.builder-extra-args }} ${ENABLE_TESTS} ${ENABLE_VALGRIND} ${ENABLE_ASSERTIONS} ${ENABLE_COVERAGE} ${LLVM_PROJECTS} ${ENABLE_RTTI} ${SANITIZER} ${EXTRA_ARGS}
--use-ccache ${{ inputs.builder-extra-args }} --ccache-variant=sccache ${ENABLE_TESTS} ${ENABLE_VALGRIND} ${ENABLE_ASSERTIONS} ${ENABLE_COVERAGE} ${LLVM_PROJECTS} ${ENABLE_RTTI} ${SANITIZER} ${EXTRA_ARGS}

0 comments on commit ae2bbe4

Please sign in to comment.