From 58c0d615c76ee411e08b54d69af05ca5fc36fdfc Mon Sep 17 00:00:00 2001 From: itchyny Date: Sun, 1 Nov 2026 19:55:38 +0900 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d978d5e..b6e3d98e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 \