Skip to content

Commit 5aa9a73

Browse files
committed
chore: upgrade macos-12 to macos-latest-large in workflow
The macOS 12 Actions runner image began deprecation on 7/10/24 and has been fully unsupported since 3/12/24 for GitHub. For more details, see actions/runner-images#10721. Using macos-latest-large instead of macos-latest, as the latter is ARM-based, while we require AMD architecture (385f2db). For more details, see actions/runner-images#9741, and the table in https://github.com/actions/runner-images/blob/ubuntu24/20241117.1/README.md#available-images.
1 parent 2ad8211 commit 5aa9a73

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/workflow.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ jobs:
240240
continue-on-error: False
241241
strategy:
242242
matrix:
243-
os: [ubuntu-latest, macos-12, windows-latest]
243+
os: [ubuntu-latest, macos-latest-large, windows-latest]
244244
python_version: ["3.10",]
245245
timeout-minutes: 10
246246
runs-on: ${{ matrix.os }}
@@ -271,7 +271,7 @@ jobs:
271271
sys:
272272
- { os: windows-latest, shell: "msys2 {0}" }
273273
- { os: ubuntu-latest, shell: bash }
274-
# - { os: macos-12, shell: bash }
274+
# - { os: macos-latest-large, shell: bash }
275275
python_version: ["3.10",]
276276
timeout-minutes: 15
277277
steps:
@@ -433,7 +433,7 @@ jobs:
433433
runs-on: ${{ matrix.os }}
434434
strategy:
435435
matrix:
436-
os: [ubuntu-latest, macos-12, windows-latest]
436+
os: [ubuntu-latest, macos-latest-large, windows-latest]
437437
python_version: ['3.8', '3.9', '3.10', '3.11']
438438
timeout-minutes: 120
439439
steps:
@@ -469,8 +469,8 @@ jobs:
469469
# sudo apt-get install -y protobuf-compiler
470470
# use sudo rm /var/lib/apt/lists/lock above in line above update if dependency install failures persist
471471
# use sudo apt-get dist-upgrade above in line below update if dependency install failures persist
472-
- if: matrix.os == 'macos-12'
473-
name: Install dependencies (macos-12)
472+
- if: matrix.os == 'macos-latest-large'
473+
name: Install dependencies (macos-latest-large)
474474
run: |
475475
pip install tomte[tox]==0.2.13
476476
brew install gcc
@@ -558,7 +558,7 @@ jobs:
558558
runs-on: ${{ matrix.os }}
559559
strategy:
560560
matrix:
561-
os: [ubuntu-latest, macos-12, windows-latest]
561+
os: [ubuntu-latest, macos-latest-large, windows-latest]
562562
python-version: ["3.10"]
563563
timeout-minutes: 45
564564
steps:

0 commit comments

Comments
 (0)