Skip to content

Commit c402def

Browse files
committed
ci: use GitHub hosted runners to build for arm64 macOS
1 parent 5288878 commit c402def

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/test-and-publish.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626
fail-fast: false
2727
matrix:
2828
# Use Ubuntu 20.04 / macOS 13 x86_64 / macOS 14 arm64 + Python 3.10 to build SpiderMonkey
29-
os: [ 'ubuntu-20.04', 'macos-13', 'macos-14-arm64' ]
29+
os: [ 'ubuntu-20.04', 'macos-13', 'macos-14' ] # macOS 14 runner exclusively runs on M1 hardwares
30+
# see https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available
3031
python_version: [ '3.10' ]
3132
runs-on: ${{ matrix.os }}
3233
steps:
@@ -88,7 +89,7 @@ jobs:
8889
fail-fast: false
8990
matrix:
9091
# The lowest supported version is Ubuntu 20.04 + Python 3.8 or macOS 12 + Python 3.9
91-
os: [ 'ubuntu-20.04', 'macos-12', 'windows-2019', 'macos-14-arm64' ]
92+
os: [ 'ubuntu-20.04', 'macos-12', 'windows-2019', 'macos-14' ]
9293
python_version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
9394
exclude:
9495
# macOS 12 comes with Python 3.9 by default, so we drop ci support for Python 3.8 on macOS
@@ -97,9 +98,9 @@ jobs:
9798
python_version: '3.8'
9899
# actions/setup-python: The version '3.8'/'3.9' with architecture 'arm64' was not found for macOS.
99100
# see https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
100-
- os: 'macos-14-arm64'
101+
- os: 'macos-14'
101102
python_version: '3.8'
102-
- os: 'macos-14-arm64'
103+
- os: 'macos-14'
103104
python_version: '3.9'
104105
runs-on: ${{ matrix.os }}
105106
steps:

0 commit comments

Comments
 (0)