|
59 | 59 | strategy:
|
60 | 60 | fail-fast: false
|
61 | 61 | matrix:
|
62 |
| - # Use Ubuntu 20.04 / macOS 13 x86_64 / macOS 14 arm64 + Python 3.10 to build SpiderMonkey |
63 |
| - os: [ 'ubuntu-20.04', 'macos-13', 'macos-14' ] # macOS 14 runner exclusively runs on M1 hardwares |
| 62 | + # Use Ubuntu 20.04 / Ubuntu 24.04 / macOS 13 x86_64 / macOS 14 arm64 + Python 3.10 to build SpiderMonkey |
| 63 | + os: [ 'ubuntu-20.04', 'ubuntu-24.04', 'macos-13', 'macos-14' ] # macOS 14 runner exclusively runs on M1 hardwares |
64 | 64 | # see https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available
|
65 | 65 | python_version: [ '3.10' ]
|
66 | 66 | runs-on: ${{ matrix.os }}
|
|
81 | 81 | lookup-only: true # skip download
|
82 | 82 | - name: Setup XCode
|
83 | 83 | if: ${{ (matrix.os == 'macos-13' || matrix.os == 'macos-14') && steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
|
84 |
| - # SpiderMonkey 115 ESR requires XCode SDK version at least 13.3 |
85 |
| - # https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md#installed-sdks |
| 84 | + # SpiderMonkey requires XCode SDK version at least 13.3 |
86 | 85 | run: sudo xcode-select -switch /Applications/Xcode_14.3.app
|
87 | 86 | - name: Build spidermonkey
|
88 | 87 | if: ${{ steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
|
@@ -128,8 +127,7 @@ jobs:
|
128 | 127 | strategy:
|
129 | 128 | fail-fast: false
|
130 | 129 | matrix:
|
131 |
| - # The lowest supported version is Ubuntu 20.04 + Python 3.8 or macOS 12 + Python 3.9 |
132 |
| - os: [ 'ubuntu-20.04', 'macos-12', 'macos-14', 'windows-2022' ] |
| 130 | + os: [ 'ubuntu-20.04', 'ubuntu-24.04', 'macos-12', 'macos-14', 'windows-2022' ] |
133 | 131 | python_version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
|
134 | 132 | exclude:
|
135 | 133 | # actions/setup-python: The version '3.8'/'3.9' with architecture 'arm64' was not found for macOS.
|
@@ -274,6 +272,19 @@ jobs:
|
274 | 272 | with:
|
275 | 273 | name: wheel-${{ github.run_id }}-${{ github.sha }}
|
276 | 274 | path: ./dist/
|
| 275 | + check-install-from-sdist: |
| 276 | + needs: sdist |
| 277 | + runs-on: ubuntu-24.04 |
| 278 | + steps: |
| 279 | + - uses: actions/setup-python@v5 |
| 280 | + with: |
| 281 | + python-version: '3.10' |
| 282 | + - name: Download wheels built |
| 283 | + uses: actions/download-artifact@v3 |
| 284 | + with: |
| 285 | + name: wheel-${{ github.run_id }}-${{ github.sha }} |
| 286 | + path: ./dist/ |
| 287 | + - run: pip install ./dist/pythonmonkey-*.tar.gz |
277 | 288 | publish:
|
278 | 289 | needs: [build-and-test, sdist]
|
279 | 290 | runs-on: ubuntu-20.04
|
|
0 commit comments