Skip to content

Commit

Permalink
chore: upgrade macos-12 to macos-latest-large in workflow
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Adamantios committed Jan 7, 2025
1 parent 2ad8211 commit 5aa9a73
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ jobs:
continue-on-error: False
strategy:
matrix:
os: [ubuntu-latest, macos-12, windows-latest]
os: [ubuntu-latest, macos-latest-large, windows-latest]
python_version: ["3.10",]
timeout-minutes: 10
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -271,7 +271,7 @@ jobs:
sys:
- { os: windows-latest, shell: "msys2 {0}" }
- { os: ubuntu-latest, shell: bash }
# - { os: macos-12, shell: bash }
# - { os: macos-latest-large, shell: bash }
python_version: ["3.10",]
timeout-minutes: 15
steps:
Expand Down Expand Up @@ -433,7 +433,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-12, windows-latest]
os: [ubuntu-latest, macos-latest-large, windows-latest]
python_version: ['3.8', '3.9', '3.10', '3.11']
timeout-minutes: 120
steps:
Expand Down Expand Up @@ -469,8 +469,8 @@ jobs:
# sudo apt-get install -y protobuf-compiler
# use sudo rm /var/lib/apt/lists/lock above in line above update if dependency install failures persist
# use sudo apt-get dist-upgrade above in line below update if dependency install failures persist
- if: matrix.os == 'macos-12'
name: Install dependencies (macos-12)
- if: matrix.os == 'macos-latest-large'
name: Install dependencies (macos-latest-large)
run: |
pip install tomte[tox]==0.2.13
brew install gcc
Expand Down Expand Up @@ -558,7 +558,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-12, windows-latest]
os: [ubuntu-latest, macos-latest-large, windows-latest]
python-version: ["3.10"]
timeout-minutes: 45
steps:
Expand Down

0 comments on commit 5aa9a73

Please sign in to comment.