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 Apr 30, 2024
1 parent 515c1e7 commit dc5ed9e
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 @@ -257,6 +257,7 @@ jobs:
- uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.sys}}
cache: false
install: >-
git
make
Expand Down Expand Up @@ -374,6 +375,7 @@ jobs:
- uses: msys2/setup-msys2@v2
with:
msystem: mingw64
cache: false
install: >-
unzip
make
Expand Down Expand Up @@ -664,6 +666,7 @@ jobs:
- uses: msys2/setup-msys2@v2
with:
msystem: mingw64
cache: false
install: >-
unzip
make
Expand Down

0 comments on commit dc5ed9e

Please sign in to comment.