|
25 | 25 | strategy:
|
26 | 26 | fail-fast: false
|
27 | 27 | 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' ] # 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 |
30 | 31 | python_version: [ '3.10' ]
|
31 | 32 | runs-on: ${{ matrix.os }}
|
32 | 33 | steps:
|
|
43 | 44 | key: spidermonkey115.7.0-${{ runner.os }}-${{ runner.arch }}
|
44 | 45 | lookup-only: true # skip download
|
45 | 46 | - name: Setup XCode
|
46 |
| - if: ${{ matrix.os == 'macos-13' && steps.cache-spidermonkey.outputs.cache-hit != 'true' }} |
| 47 | + if: ${{ (matrix.os == 'macos-13' || matrix.os == 'macos-14') && steps.cache-spidermonkey.outputs.cache-hit != 'true' }} |
47 | 48 | # SpiderMonkey 115 ESR requires XCode SDK version at least 13.3
|
48 | 49 | # https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md#installed-sdks
|
49 | 50 | run: sudo xcode-select -switch /Applications/Xcode_14.3.app
|
|
88 | 89 | fail-fast: false
|
89 | 90 | matrix:
|
90 | 91 | # 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' ] |
| 92 | + os: [ 'ubuntu-20.04', 'macos-12', 'windows-2019', 'macos-14' ] |
92 | 93 | python_version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
|
93 | 94 | exclude:
|
94 | 95 | # macOS 12 comes with Python 3.9 by default, so we drop ci support for Python 3.8 on macOS
|
|
97 | 98 | python_version: '3.8'
|
98 | 99 | # actions/setup-python: The version '3.8'/'3.9' with architecture 'arm64' was not found for macOS.
|
99 | 100 | # see https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
|
100 |
| - - os: 'm2ci' |
| 101 | + - os: 'macos-14' |
101 | 102 | python_version: '3.8'
|
102 |
| - - os: 'm2ci' |
| 103 | + - os: 'macos-14' |
103 | 104 | python_version: '3.9'
|
104 | 105 | runs-on: ${{ matrix.os }}
|
105 | 106 | steps:
|
|
0 commit comments