From ae2bbe4abc6723e0cb20abee294c81aa03422b47 Mon Sep 17 00:00:00 2001 From: Anton Baliasnikov Date: Tue, 19 Nov 2024 17:19:32 +0000 Subject: [PATCH] feat: change ccache to sccache to cache rust too --- .github/actions/build-llvm/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/build-llvm/action.yml b/.github/actions/build-llvm/action.yml index 452d8a9..402b601 100644 --- a/.github/actions/build-llvm/action.yml +++ b/.github/actions/build-llvm/action.yml @@ -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 @@ -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}