Skip to content

Commit 73d4488

Browse files
committed
COMP: Install specific XCode version for Python packages
To be compatible with the ITKPythonBuilds, which are not built against the same version. xref: actions/runner-images#2056 xref: https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md#xcode
1 parent 4ee7b68 commit 73d4488

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/build-test-package.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,10 @@ jobs:
192192
steps:
193193
- uses: actions/checkout@v2
194194

195+
- name: 'Specific XCode version'
196+
run: |
197+
sudo xcode-select -s "/Applications/Xcode_11.7.app"
198+
195199
- name: Get specific of CMake, Ninja
196200
uses: lukka/[email protected]
197201

{{cookiecutter.project_name}}/.github/workflows/build-test-package.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ jobs:
177177
steps:
178178
- uses: actions/checkout@v2
179179

180+
- name: 'Specific XCode version'
181+
run: |
182+
sudo xcode-select -s "/Applications/Xcode_11.7.app"
183+
180184
- name: Get specific of CMake, Ninja
181185
uses: lukka/[email protected]
182186

0 commit comments

Comments
 (0)