Skip to content

Commit

Permalink
github: Skip caching in setup-msys2
Browse files Browse the repository at this point in the history
The stored caches are quite large (around 200 MB each), and they
don't speed up the setup at all (on the contrary, fetching and
storing the cache actually can make things marginally slower).

Using a cache can reduce the load on the upstream package repository
though.

By not using a cache for setup-msys2, we keep more cache space
available for the actual LLVM builds, which take a couple orders
of magnitude longer to run.
  • Loading branch information
mstorsjo committed May 6, 2024
1 parent e21630a commit 927015e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ jobs:
- uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.sys}}
cache: false
install: >-
git
make
Expand Down Expand Up @@ -378,6 +379,7 @@ jobs:
- uses: msys2/setup-msys2@v2
with:
msystem: mingw64
cache: false
install: >-
unzip
make
Expand Down Expand Up @@ -669,6 +671,7 @@ jobs:
- uses: msys2/setup-msys2@v2
with:
msystem: mingw64
cache: false
install: >-
unzip
make
Expand Down

0 comments on commit 927015e

Please sign in to comment.