Skip to content

Commit

Permalink
Increase Windows/clcache size to 2 GB
Browse files Browse the repository at this point in the history
This is to avoid files getting purged when they may still be useful.
We now have a single cache miss reported (for both VS 2019 and VS 2022).
  • Loading branch information
tautschnig committed Jun 19, 2024
1 parent 50bfa4e commit 45f882f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/pull-request-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,10 @@ jobs:
echo "CLCACHE_DIR=$pwd\.ccache" >> $env:GITHUB_ENV
- name: Configure with cmake
run: cmake -S . -B build
- name: Zero ccache stats and limit in size (2 GB)
run: |
clcache -z
clcache -M 2147483648
- name: Build Release
run: cmake --build build --config Release -- /p:UseMultiToolTask=true /p:CLToolExe=clcache
- name: Print ccache stats
Expand Down Expand Up @@ -789,6 +793,10 @@ jobs:
run: |
echo "CLCACHE_BASEDIR=$((Get-Item -Path '.\').FullName)" >> $env:GITHUB_ENV
echo "CLCACHE_DIR=$pwd\.ccache" >> $env:GITHUB_ENV
- name: Zero ccache stats and limit in size (2 GB)
run: |
clcache -z
clcache -M 2147483648
- name: Download minisat with make
run: make -C src minisat2-download
- name: Build CBMC with make
Expand Down

0 comments on commit 45f882f

Please sign in to comment.