Skip to content

Commit 2e767a7

Browse files
committed
ci: force XCode version
1 parent bb6014f commit 2e767a7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626
fail-fast: false
2727
matrix:
2828
# Use Ubuntu 20.04 / macOS 13 + Python 3.10 to build SpiderMonkey
29-
# SpiderMonkey 115 ESR requires XCode SDK version at least 13.3
3029
os: [ 'ubuntu-20.04', 'macos-13', 'm2ci' ]
3130
python_version: [ '3.10' ]
3231
runs-on: ${{ matrix.os }}
@@ -48,6 +47,11 @@ jobs:
4847
uses: snok/install-poetry@v1
4948
with:
5049
version: 1.5.1
50+
- name: Setup XCode
51+
if: ${{ matrix.os == 'macos-13' }}
52+
# SpiderMonkey 115 ESR requires XCode SDK version at least 13.3
53+
# https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md#installed-sdks
54+
run: sudo xcode-select -switch /Applications/Xcode_14.3.app
5155
- name: Build spidermonkey
5256
if: ${{ steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
5357
run: ./setup.sh

0 commit comments

Comments
 (0)