Skip to content

Commit 5288878

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

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
# Use Ubuntu 20.04 / macOS 13 + Python 3.10 to build SpiderMonkey
29-
os: [ 'ubuntu-20.04', 'macos-13', 'm2ci' ]
28+
# 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' ]
3030
python_version: [ '3.10' ]
3131
runs-on: ${{ matrix.os }}
3232
steps:
@@ -88,7 +88,7 @@ jobs:
8888
fail-fast: false
8989
matrix:
9090
# 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', 'm2ci' ]
91+
os: [ 'ubuntu-20.04', 'macos-12', 'windows-2019', 'macos-14-arm64' ]
9292
python_version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
9393
exclude:
9494
# macOS 12 comes with Python 3.9 by default, so we drop ci support for Python 3.8 on macOS
@@ -97,9 +97,9 @@ jobs:
9797
python_version: '3.8'
9898
# actions/setup-python: The version '3.8'/'3.9' with architecture 'arm64' was not found for macOS.
9999
# see https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
100-
- os: 'm2ci'
100+
- os: 'macos-14-arm64'
101101
python_version: '3.8'
102-
- os: 'm2ci'
102+
- os: 'macos-14-arm64'
103103
python_version: '3.9'
104104
runs-on: ${{ matrix.os }}
105105
steps:

0 commit comments

Comments
 (0)