diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-09-28 00:30:40 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-27 09:30:40 -0700 |
| commit | 68c283424e9959902fe53d51085ebdd441705595 (patch) | |
| tree | 839fed6149545aefceca9936be158d18f7e89004 /.github/actions | |
| parent | 70925fecce973bcde97b6e387e5f9ff204ac3e08 (diff) | |
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 <yonghe@outlook.com>
Diffstat (limited to '.github/actions')
| -rw-r--r-- | .github/actions/common-setup/action.yml | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
