Skip to content

Commit

Permalink
Fix ccache configuration of check-macos-12-cmake-clang-rust
Browse files Browse the repository at this point in the history
The prefix lookup resulted in picking up the Release-Glucose cache from
check-macos-12-cmake-clang. This cache, however, was established with
Glucose as a SAT solver, which implies different compiler
command lines. Consequently, there would be 0 cache hits.
  • Loading branch information
tautschnig committed Nov 14, 2023
1 parent 7320b81 commit 6e1615c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pull-request-check-rust-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ jobs:
uses: actions/cache@v3
with:
path: .ccache
key: ${{ runner.os }}-Release-${{ github.ref }}-${{ github.sha }}-PR-Rust-API
key: ${{ runner.os }}-Release-Minisat-${{ github.ref }}-${{ github.sha }}-PR-Rust-API
restore-keys: |
${{ runner.os }}-Release-${{ github.ref }}
${{ runner.os }}-Release
${{ runner.os }}-Release-Minisat-${{ github.ref }}
${{ runner.os }}-Release-Minisat
- name: ccache environment
run: |
echo "CCACHE_BASEDIR=$PWD" >> $GITHUB_ENV
Expand Down

0 comments on commit 6e1615c

Please sign in to comment.