Commit 5233e2c
ci: speed up Windows jobs by trimming the msys2 install (#354)
* ci: trim Windows msys2 install to speed up setup
The msys2 package cache is already enabled by default and hits, but the
slow part of the Windows jobs is pacman *extracting* the installed
packages, which the cache does not avoid: on the windows-11-arm runner
the install step alone took ~3.5 min installing base-devel and the full
toolchain meta-package.
Install only what openlibm builds with — make plus a C compiler. The
-gcc packages pull in binutils and the runtime, so mingw64/mingw32/ucrt64
drop base-devel and the toolchain meta entirely. The clang environments
keep their toolchain meta (no standalone binutils package provides ar),
but still drop base-devel.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* ci: trim clang Windows install to the clang package too
mingw-w64-clang-*-clang requires lld and llvm-tools (which provides ar),
so it is a complete toolchain by itself. Drop the clang -toolchain meta
(lldb/openmp/flang/... are unused) to cut the slow windows-11-arm setup.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent aeef4da commit 5233e2c
1 file changed
Lines changed: 15 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
37 | 46 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
43 | 52 | | |
44 | 53 | | |
45 | 54 | | |
| |||
49 | 58 | | |
50 | 59 | | |
51 | 60 | | |
52 | | - | |
| 61 | + | |
53 | 62 | | |
54 | 63 | | |
55 | 64 | | |
| |||
0 commit comments