Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,21 @@ jobs:
strategy:
fail-fast: false
matrix:
# Install only what the build needs instead of `base-devel` plus the
# full `*-toolchain` meta-package. The msys2 package cache is already on
# by default and hits, but pacman still *extracts* every package on each
# run, and base-devel + the toolchain meta dominated setup time (it was
# ~3.5 min of pacman install on the arm runner). openlibm only needs make
# and a C compiler. The -gcc package pulls in binutils and the runtime;
# the -clang package requires lld and llvm-tools (which provides ar), so
# it is a complete toolchain on its own without the meta-package's unused
# extras (lldb, openmp, flang, ...).
include:
- { os: windows-latest, sys: mingw64, env: x86_64 }
- { os: windows-latest, sys: mingw32, env: i686 }
- { os: windows-latest, sys: ucrt64, env: ucrt-x86_64 } # Experimental!
- { os: windows-latest, sys: clang64, env: clang-x86_64 } # Experimental!
- { os: windows-11-arm, sys: clangarm64, env: clang-aarch64 } # Experimental!
- { os: windows-latest, sys: mingw64, install: "make mingw-w64-x86_64-gcc" }
- { os: windows-latest, sys: mingw32, install: "make mingw-w64-i686-gcc" }
- { os: windows-latest, sys: ucrt64, install: "make mingw-w64-ucrt-x86_64-gcc" } # Experimental!
- { os: windows-latest, sys: clang64, install: "make mingw-w64-clang-x86_64-clang" } # Experimental!
- { os: windows-11-arm, sys: clangarm64, install: "make mingw-w64-clang-aarch64-clang" } # Experimental!
defaults:
run:
shell: msys2 {0}
Expand All @@ -49,7 +58,7 @@ jobs:
uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.sys}}
install: base-devel mingw-w64-${{matrix.env}}-toolchain
install: ${{matrix.install}}
- run: make -j$(nproc)
- run: make test
strict-warnings:
Expand Down