Switch macOS runner from macos-14 to macos-15 (#3702)
The macOS jobs failed during the macos-14 brownouts, and the image is retired on November 2, 2026. Run them on macos-15 and build with the macos14 target triple instead of deriving it from uname -r, so the binaries still require macOS 14.0 as in jq 1.8.x rather than following the runner to 15. Recent clang ignores the version in a darwinNN triple and uses the SDK default.
This commit is contained in:
1 parent
70c9dc516f
commit
58c0d615c7
1 file changed
+5
-5
@@ -127,10 +127,10 @@ jobs:
|
||||
- arm64
|
||||
include:
|
||||
- arch: amd64
|
||||
target: x86_64-apple-darwin
|
||||
target: x86_64-apple-macos14
|
||||
- arch: arm64
|
||||
target: arm64-apple-darwin
|
||||
runs-on: macos-14
|
||||
target: arm64-apple-macos14
|
||||
runs-on: macos-15
|
||||
env:
|
||||
LDFLAGS: -dead_strip
|
||||
SUFFIX: macos-${{ matrix.arch }}
|
||||
@@ -146,12 +146,12 @@ jobs:
|
||||
brew install autoconf automake libtool
|
||||
- name: Set CC
|
||||
run: |
|
||||
echo "CC=clang -target ${{ matrix.target }}$(uname -r)" >> "$GITHUB_ENV"
|
||||
echo "CC=clang -target ${{ matrix.target }}" >> "$GITHUB_ENV"
|
||||
- name: Build
|
||||
run: |
|
||||
autoreconf -i
|
||||
./configure \
|
||||
--host="${{ matrix.target }}$(uname -r)" \
|
||||
--host="${{ matrix.target }}" \
|
||||
--disable-docs \
|
||||
--with-oniguruma=builtin \
|
||||
--disable-shared \
|
||||
|
||||
Reference in new issue
Block a user