Skip to content

Commit a5ba0ee

Browse files
authored
Drop macos-12 runners due to shutdown (#4412)
macos-12 is being shut down; it will have outages in November, and will be fully removed in December: actions/runner-images#10721
1 parent dfed743 commit a5ba0ee

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

.github/actions/build-setup-macos/action.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ runs:
1818
xcrun simctl delete all
1919
sudo rm -rf ~/Library/Developer/CoreSimulator/Caches/*
2020
21-
# Install and cache LLVM 16 from Homebrew.
22-
# TODO: We can potentially remove this and simplify things when the
23-
# Homebrew version of LLVM updates to 16 here:
24-
# https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md
21+
# Install and cache LLVM 16 from Homebrew. Some runners may have LLVM 16,
22+
# but this is reliable (including with libc++), and gives us testing at the
23+
# minimum supported LLVM version.
2524
- name: Cache Homebrew
2625
id: cache-homebrew-macos
2726
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2

.github/workflows/tests.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,8 @@ jobs:
2424
test:
2525
strategy:
2626
matrix:
27-
# On PRs and in the merge queue test a recent version of each supported
28-
# OS. On push (post-submit), also run on `macos-12` to get Intel macOS
29-
# coverage.
30-
runner:
31-
${{ fromJSON(github.event_name != 'push' && '["ubuntu-22.04",
32-
"macos-14"]' || '["ubuntu-22.04", "macos-14", "macos-12"]') }}
27+
# Test a recent version of each supported OS.
28+
runner: ['ubuntu-22.04', 'macos-14']
3329
build_mode: [fastbuild, opt]
3430
include:
3531
# The clang-tidy config doesn't work on macos (missing `truncate`).

0 commit comments

Comments
 (0)