ci: only build with zig-master macos-latest

The way that the macOS libc integration in zig works retroactively
breaks older zig versions on newer macOS due to linking errors. The
only version that is "guaranteed" to work on `macos-latest` is zig
`master`.
This commit is contained in:
2026-09-27 12:19:40 -06:00
parent c1ccce24e1
commit be1c14b525

View File

@@ -13,9 +13,9 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
zig-version: ["0.14.1", "0.15.2", "master"] zig-version: ["0.14.1", "0.15.2", "master"]
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, windows-latest]
include: include:
- zig-version: "0.15.2" - zig-version: "master"
# -Dbuild-tests does not work when targeting Linux because the build # -Dbuild-tests does not work when targeting Linux because the build
# system doesn't preserve linker input file order, which causes the # system doesn't preserve linker input file order, which causes the
# linker to spew duplicate symbol errors. # linker to spew duplicate symbol errors.