From 68c283424e9959902fe53d51085ebdd441705595 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Sat, 28 Sep 2024 00:30:40 +0800 Subject: Add fallback flag for sccache (#5170) SCCACHE_IGNORE_SERVER_IO_ERROR=1 Closes https://github.com/shader-slang/slang/issues/5163 Co-authored-by: Yong He --- .github/actions/common-setup/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.github/actions/common-setup') diff --git a/.github/actions/common-setup/action.yml b/.github/actions/common-setup/action.yml index 712a74df5..736d0bafb 100644 --- a/.github/actions/common-setup/action.yml +++ b/.github/actions/common-setup/action.yml @@ -95,7 +95,7 @@ runs: # hosted runners or ARM continue-on-error: true - - name: Set environment variable for CMake + - name: Set environment variable for CMake and sccache shell: bash run: | if [ "${{inputs.build-llvm}}" == "true" ]; then @@ -108,6 +108,7 @@ runs: echo "CMAKE_CXX_COMPILER_LAUNCHER=sccache" >> "$GITHUB_ENV" echo "CMAKE_C_COMPILER_LAUNCHER=sccache" >> "$GITHUB_ENV" fi + echo SCCACHE_IGNORE_SERVER_IO_ERROR=1 >> "$GITHUB_ENV" # Install swiftshader - uses: robinraju/release-downloader@v1.8 -- cgit v1.2.3