diff options
| author | Gangzheng Tong <tonggangzheng@gmail.com> | 2025-06-18 18:23:10 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-19 01:23:10 +0000 |
| commit | 5da7301d19e0a293bc2187520b471361beaefe92 (patch) | |
| tree | 861118d5c11153a9512c3537ca35ba63b1f7c2f5 /.github | |
| parent | e61f7c4978312e00b3c14647bf6900d7710253f6 (diff) | |
remove sccache due to the instability (#7484)
Diffstat (limited to '.github')
| -rw-r--r-- | .github/actions/common-setup/action.yml | 9 | ||||
| -rw-r--r-- | .github/workflows/release.yml | 12 |
2 files changed, 3 insertions, 18 deletions
diff --git a/.github/actions/common-setup/action.yml b/.github/actions/common-setup/action.yml index 68a47e707..632a14485 100644 --- a/.github/actions/common-setup/action.yml +++ b/.github/actions/common-setup/action.yml @@ -100,7 +100,7 @@ runs: path: ${{ github.workspace }}/build/llvm-project-install key: ${{ steps.cache-llvm.outputs.cache-primary-key }} - - name: Set environment variable for CMake and sccache + - name: Set environment variable for CMake shell: bash run: | if [ "${{inputs.build-llvm}}" == "true" ]; then @@ -108,13 +108,6 @@ runs: echo "Clang_DIR=${{ github.workspace }}/build/llvm-project-install" >> "$GITHUB_ENV" fi - # Set CMake to use sccache if it's available - if command -v sccache; then - 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.11 continue-on-error: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5319fa373..2981708b5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,16 +3,8 @@ name: Release on: workflow_dispatch: push: - # Also run on pushes to the main branch so that we can keep the llvm and sccache - # caches filled in a scope available to everyone - branches: - - master - paths-ignore: - - "docs/**" - - "LICENSES/**" - - "LICENSE" - - "CONTRIBUTING.md" - - "README.md" + # We are not caching the builds so we don't want to run the release workflow for every push to master; + # The release workflow is only triggered by tags or manual dispatch tags: - "v*" jobs: |
