Skip to content

Commit 5b0d4bd

Browse files
committed
[ci] Update to macOS 26
The Apple clang version remains at 17, no change to compile_flags.txt is needed. We should still be able to support the old Xcode with this – new Apple clang is based on LLVM 19.1.5 instead of 19.1.4, we also use clang 19 on Linux.
1 parent 6962910 commit 5b0d4bd

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

.github/actions/setup-runner/action.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ runs:
3838
git config --show-scope --show-origin core.symlinks
3939
git config --system core.longpaths true
4040
[System.IO.File]::WriteAllLines((Join-Path -Path $env:USERPROFILE -ChildPath '.bazelrc'), 'startup --output_user_root=\\\\?\\C:\\tmp')
41-
- name: Setup macOS
42-
if: runner.os == 'macOS'
43-
shell: bash
44-
run: |
45-
# Build using Xcode 16.3 (equivalent to Clang 19)
46-
sudo xcode-select -s "/Applications/Xcode_16.3.app"
4741
- name: Configure git hooks
4842
shell: bash
4943
# Configure git to quell an irrelevant warning for runners (they never commit / push).

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,17 @@ jobs:
8282
bazel-config: release_linux
8383
target-arch: ARM64
8484
# Based on runner availability, we build both Apple Silicon and (cross-compiled) x86
85-
# release binaries on the macos-15 runner.
85+
# release binaries on the macos-26 runner.
8686
- title: macOS-x64
8787
os-name: macOS
88-
# This configuration is used for cross-compiling – macos-15 is Apple Silicon-based but
88+
# This configuration is used for cross-compiling – macos-26 is Apple Silicon-based but
8989
# we use it to compile the x64 release.
90-
image: macos-15
90+
image: macos-26
9191
bazel-config: release_macos_cross_x86_64
9292
target-arch: X64
9393
- title: macOS-arm64
9494
os-name: macOS
95-
image: macos-15
95+
image: macos-26
9696
bazel-config: release_macos
9797
target-arch: ARM64
9898
- title: windows

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
[
3636
{ name: linux, arch: X64, image: ubuntu-22.04 },
3737
{ name: linux-arm, arch: ARM64, image: ubuntu-22.04-arm },
38-
{ name: macOS, arch: ARM64, image: macos-15 },
38+
{ name: macOS, arch: ARM64, image: macos-26 },
3939
{ name: windows, arch: X64, image: windows-2025 },
4040
]
4141
config: [
@@ -60,7 +60,7 @@ jobs:
6060
# due to resource constraints, exclude the macOS and x64 Linux debug runners for now.
6161
# linux-asan and arm64 linux-debug should provide sufficient coverage for building in the
6262
# debug configuration.
63-
- os: { name: macOS, arch: ARM64 ,image: macos-15 }
63+
- os: { name: macOS, arch: ARM64, image: macos-26 }
6464
config: { suffix: -debug }
6565
- os: { name: linux, arch: X64, image: ubuntu-22.04 }
6666
config: { suffix: -debug }

0 commit comments

Comments
 (0)