Skip to content

Commit 1525fe0

Browse files
authored
Merge pull request #430 from jhlegarreta/FixMacOSGHAToolchain
ENH: Fix macOS GHA toolchain
2 parents 58b5352 + 38d345a commit 1525fe0

File tree

2 files changed

+17
-12
lines changed

2 files changed

+17
-12
lines changed

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

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727
cmake-build-type: "MinSizeRel"
2828

2929
steps:
30-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v4
3131
with:
3232
path: Ex
3333

3434
- name: Set up Python 3.9
35-
uses: actions/setup-python@v4
35+
uses: actions/setup-python@v5
3636
with:
3737
python-version: 3.9
3838

@@ -44,6 +44,11 @@ jobs:
4444
- name: Get specific version of CMake, Ninja
4545
uses: lukka/get-cmake@v3.24.2
4646

47+
- name: Specific XCode version
48+
if: matrix.os == 'macos-13'
49+
run: |
50+
sudo xcode-select -s "/Applications/Xcode_14.3.1.app"
51+
4752
- name: Download ITK
4853
run: |
4954
cd ..
@@ -146,12 +151,12 @@ jobs:
146151
cmake-build-type: "MinSizeRel"
147152

148153
steps:
149-
- uses: actions/checkout@v3
154+
- uses: actions/checkout@v4
150155
with:
151156
path: Ex
152157

153158
- name: Set up Python 3.9
154-
uses: actions/setup-python@v4
159+
uses: actions/setup-python@v5
155160
with:
156161
python-version: 3.9
157162

@@ -229,12 +234,12 @@ jobs:
229234
strategy:
230235
max-parallel: 3
231236
matrix:
232-
os: [ubuntu-22.04, windows-2022, macos-12]
237+
os: [ubuntu-22.04, windows-2022, macos-13]
233238

234239
steps:
235-
- uses: actions/checkout@v3
240+
- uses: actions/checkout@v4
236241
- name: Set up Python 3.9
237-
uses: actions/setup-python@v4
242+
uses: actions/setup-python@v5
238243
with:
239244
python-version: 3.9
240245

@@ -266,13 +271,13 @@ jobs:
266271
cmake-build-type: "Release"
267272

268273
steps:
269-
- uses: actions/checkout@v3
274+
- uses: actions/checkout@v4
270275
with:
271276
path: Ex
272277
submodules: recursive
273278

274279
- name: Set up Python 3.9
275-
uses: actions/setup-python@v4
280+
uses: actions/setup-python@v5
276281
with:
277282
python-version: 3.9
278283

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111
with:
1212
# Full git history is needed to get a proper
1313
# list of changed files within `super-linter`
@@ -17,12 +17,12 @@ jobs:
1717
uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master
1818

1919
- name: Set up Python
20-
uses: actions/setup-python@v4
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: 3.9
2323

2424
- name: Lint Python
25-
uses: github/super-linter@v4
25+
uses: github/super-linter@v7
2626
env:
2727
VALIDATE_ALL_CODEBASE: false
2828
VALIDATE_PYTHON_BLACK: true

0 commit comments

Comments
 (0)