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
|
- arm64
|
||||||
include:
|
include:
|
||||||
- arch: amd64
|
- arch: amd64
|
||||||
target: x86_64-apple-darwin
|
target: x86_64-apple-macos14
|
||||||
- arch: arm64
|
- arch: arm64
|
||||||
target: arm64-apple-darwin
|
target: arm64-apple-macos14
|
||||||
runs-on: macos-14
|
runs-on: macos-15
|
||||||
env:
|
env:
|
||||||
LDFLAGS: -dead_strip
|
LDFLAGS: -dead_strip
|
||||||
SUFFIX: macos-${{ matrix.arch }}
|
SUFFIX: macos-${{ matrix.arch }}
|
||||||
@@ -146,12 +146,12 @@ jobs:
|
|||||||
brew install autoconf automake libtool
|
brew install autoconf automake libtool
|
||||||
- name: Set CC
|
- name: Set CC
|
||||||
run: |
|
run: |
|
||||||
echo "CC=clang -target ${{ matrix.target }}$(uname -r)" >> "$GITHUB_ENV"
|
echo "CC=clang -target ${{ matrix.target }}" >> "$GITHUB_ENV"
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
./configure \
|
./configure \
|
||||||
--host="${{ matrix.target }}$(uname -r)" \
|
--host="${{ matrix.target }}" \
|
||||||
--disable-docs \
|
--disable-docs \
|
||||||
--with-oniguruma=builtin \
|
--with-oniguruma=builtin \
|
||||||
--disable-shared \
|
--disable-shared \
|
||||||
|
|||||||
Reference in new issue
Block a user