Skip to content

Commit ef02c6b

Browse files
committed
GHA/macos: delete macos-12 jobs
Its days are numbered: actions/runner-images#10721
1 parent 4b4ff44 commit ef02c6b

File tree

1 file changed

+7
-22
lines changed

1 file changed

+7
-22
lines changed

.github/workflows/macos.yml

+7-22
Original file line numberDiff line numberDiff line change
@@ -428,15 +428,14 @@ jobs:
428428
compiler: [gcc-12, gcc-13, gcc-14, llvm@15, llvm@18, clang]
429429
# Xcode support matrix as of 2024-07, with default macOS SDK versions and OS names, years:
430430
# * = default Xcode on the runner.
431-
# macos-12: 13.1, 13.2.1, 13.3.1, 13.4.1, 14.0.1, 14.1,*14.2
432-
# macos-13: 14.1, 14.2, 14.3.1,*15.0.1, 15.1, 15.2
433-
# macos-14: 14.3.1, 15.0.1, 15.1, 15.2, 15.3,*15.4, 16.0
434-
# macos-15: *16.0, 16.1
435-
# macOSSDK: 12.0, 12.1, 12.3, 12.3, 12.3, 13.0, 13.1, 13.3, 14.0, 14.2, 14.2, 14.4, 14.5, 15.0, 15.1
436-
# Monterey (2021) Ventura (2022) Sonoma (2023) Sequoia (2024)
431+
# macos-13: 14.1, 14.2, 14.3.1,*15.0.1, 15.1, 15.2
432+
# macos-14: 14.3.1, 15.0.1, 15.1, 15.2, 15.3,*15.4, 16.0
433+
# macos-15: *16.0, 16.1
434+
# macOSSDK: 13.0, 13.1, 13.3, 14.0, 14.2, 14.2, 14.4, 14.5, 15.0, 15.1
435+
# Ventura (2022) Sonoma (2023) Sequoia (2024)
437436
# https://github.com/actions/runner-images/tree/main/images/macos
438437
# https://en.wikipedia.org/wiki/MacOS_version_history
439-
image: [macos-12, macos-13, macos-14, macos-15]
438+
image: [macos-13, macos-14, macos-15]
440439
# Can skip these to reduce jobs:
441440
# 13.1, 13.2.1 are fairly old.
442441
# 13.3.1, 14.0.1 have the same default macOS SDK as 13.4.1 and identical test results.
@@ -450,13 +449,6 @@ jobs:
450449
build: [autotools, cmake]
451450
exclude:
452451
# Combinations uncovered by runner images:
453-
- { image: macos-12, xcode: '14.3.1' }
454-
- { image: macos-12, xcode: '15.0.1' }
455-
- { image: macos-12, xcode: '15.1' }
456-
- { image: macos-12, xcode: '15.2' }
457-
- { image: macos-12, xcode: '15.3' }
458-
- { image: macos-12, xcode: '15.4' }
459-
- { image: macos-12, xcode: '16.0' }
460452
- { image: macos-13, xcode: '13.1' }
461453
- { image: macos-13, xcode: '13.2.1' }
462454
- { image: macos-13, xcode: '13.3.1' }
@@ -485,7 +477,6 @@ jobs:
485477
- { image: macos-15, xcode: '15.2' }
486478
- { image: macos-15, xcode: '15.3' }
487479
- { image: macos-15, xcode: '15.4' }
488-
- { image: macos-12, compiler: 'llvm@18' }
489480
- { image: macos-13, compiler: 'llvm@18' }
490481
- { image: macos-14, compiler: 'llvm@18' }
491482
- { image: macos-15, compiler: 'llvm@15' }
@@ -499,13 +490,7 @@ jobs:
499490
if: ${{ matrix.build == 'autotools' }}
500491
run: |
501492
echo automake libtool | xargs -Ix -n1 echo brew '"x"' > /tmp/Brewfile
502-
while [[ $? == 0 ]]; do
503-
for i in 1 2 3; do
504-
[ '${{ matrix.image }}' != 'macos-12' ] && brew update # To avoid triggering updates needing build from source
505-
brew bundle install --no-lock --file /tmp/Brewfile && break 2 || { echo Error: wait to try again; sleep 10; }
506-
done
507-
false Too many retries
508-
done
493+
while [[ $? == 0 ]]; do for i in 1 2 3; do brew update && brew bundle install --no-lock --file /tmp/Brewfile && break 2 || { echo Error: wait to try again; sleep 10; } done; false Too many retries; done
509494
510495
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4
511496

0 commit comments

Comments
 (0)