Skip to content

Commit b46c421

Browse files
authored
Merge pull request #8346 from tautschnig/windows-cache-size
Increase Windows/clcache size to 2 GB
2 parents 2ffc4c9 + 45f882f commit b46c421

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/pull-request-checks.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,10 @@ jobs:
729729
echo "CLCACHE_DIR=$pwd\.ccache" >> $env:GITHUB_ENV
730730
- name: Configure with cmake
731731
run: cmake -S . -B build
732+
- name: Zero ccache stats and limit in size (2 GB)
733+
run: |
734+
clcache -z
735+
clcache -M 2147483648
732736
- name: Build Release
733737
run: cmake --build build --config Release -- /p:UseMultiToolTask=true /p:CLToolExe=clcache
734738
- name: Print ccache stats
@@ -789,6 +793,10 @@ jobs:
789793
run: |
790794
echo "CLCACHE_BASEDIR=$((Get-Item -Path '.\').FullName)" >> $env:GITHUB_ENV
791795
echo "CLCACHE_DIR=$pwd\.ccache" >> $env:GITHUB_ENV
796+
- name: Zero ccache stats and limit in size (2 GB)
797+
run: |
798+
clcache -z
799+
clcache -M 2147483648
792800
- name: Download minisat with make
793801
run: make -C src minisat2-download
794802
- name: Build CBMC with make

0 commit comments

Comments
 (0)