Skip to content

Commit d4afa39

Browse files
committed
ENH: Update CI for ITK 5.4 RC 04
Update the configuration of the cookiecutter CI to point to the HEAD of ITKRemoteModuleBuildTestPackageAction's v5.4.0 branch. Updates to the template's configuration.
1 parent e2c165d commit d4afa39

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

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

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,38 +3,38 @@ name: Build, test, package
33
on: [push,pull_request]
44

55
env:
6-
itk-git-tag: "v5.3.0"
7-
itk-wheel-tag: "v5.3.0"
8-
itk-python-package-tag: "03391ad738438661fff40bfe37a7cfabd171b9b1"
6+
itk-git-tag: "v5.4rc04"
7+
itk-wheel-tag: "v5.4rc04"
8+
itk-python-package-tag: "v5.4rc04"
99

1010
jobs:
1111
build-test-cxx:
1212
runs-on: ${{ matrix.os }}
1313
strategy:
1414
max-parallel: 3
1515
matrix:
16-
os: [ubuntu-20.04, windows-2022, macos-11]
16+
os: [ubuntu-22.04, windows-2022, macos-12]
1717
include:
18-
- os: ubuntu-20.04
18+
- os: ubuntu-22.04
1919
c-compiler: "gcc"
2020
cxx-compiler: "g++"
2121
cmake-build-type: "MinSizeRel"
2222
- os: windows-2022
2323
c-compiler: "cl.exe"
2424
cxx-compiler: "cl.exe"
2525
cmake-build-type: "Release"
26-
- os: macos-11
26+
- os: macos-12
2727
c-compiler: "clang"
2828
cxx-compiler: "clang++"
2929
cmake-build-type: "MinSizeRel"
3030

3131
steps:
32-
- uses: actions/checkout@v3
32+
- uses: actions/checkout@v4
3333

34-
- name: Set up Python 3.8
35-
uses: actions/setup-python@v4
34+
- name: Set up Python 3.11
35+
uses: actions/setup-python@v5
3636
with:
37-
python-version: "3.8"
37+
python-version: "3.11"
3838

3939
- name: Install build dependencies
4040
run: |
@@ -43,7 +43,7 @@ jobs:
4343
python -m pip install cookiecutter
4444
4545
- name: Get specific version of CMake, Ninja
46-
uses: lukka/get-cmake@v3.24.2
46+
uses: lukka/get-cmake@v3.29.0
4747

4848
- name: Download ITK
4949
run: |
@@ -139,7 +139,7 @@ jobs:
139139
shell: cmd
140140

141141
build-linux-python-packages:
142-
runs-on: ubuntu-20.04
142+
runs-on: ubuntu-22.04
143143
strategy:
144144
max-parallel: 2
145145
matrix:
@@ -163,13 +163,13 @@ jobs:
163163
sudo apt install zstd
164164
unzstd --version
165165
166-
- name: Set up Python 3.8
167-
uses: actions/setup-python@v4
166+
- name: Set up Python 3.11
167+
uses: actions/setup-python@v5
168168
with:
169-
python-version: "3.8"
169+
python-version: "3.11"
170170

171171
- name: Get specific version of CMake, Ninja
172-
uses: lukka/get-cmake@v3.24.2
172+
uses: lukka/get-cmake@v3.29.0
173173

174174
- name: Evaluate template
175175
shell: bash
@@ -202,31 +202,31 @@ jobs:
202202
path: Evaluated/ITKModuleTemplate/dist
203203

204204
build-macos-python-packages:
205-
runs-on: macos-11
205+
runs-on: macos-12
206206
strategy:
207207
max-parallel: 2
208208
matrix:
209209
python-version: ["38", "39", "310", "311"]
210210

211211
steps:
212-
- uses: actions/checkout@v3
212+
- uses: actions/checkout@v4
213213

214214
- name: 'Specific XCode version'
215215
run: |
216216
sudo xcode-select -s "/Applications/Xcode_13.2.1.app"
217217
218218
- name: Get specific version of CMake, Ninja
219-
uses: lukka/get-cmake@v3.24.2
219+
uses: lukka/get-cmake@v3.29.0
220220

221221
- name: 'Fetch build script'
222222
run: |
223223
curl -L https://raw.githubusercontent.com/InsightSoftwareConsortium/ITKPythonPackage/${{ env.itk-python-package-tag }}/scripts/macpython-download-cache-and-build-module-wheels.sh -O
224224
chmod u+x macpython-download-cache-and-build-module-wheels.sh
225225
226-
- name: Set up Python 3.8
227-
uses: actions/setup-python@v4
226+
- name: Set up Python 3.11
227+
uses: actions/setup-python@v5
228228
with:
229-
python-version: "3.8"
229+
python-version: "3.11"
230230

231231
- name: Evaluate template
232232
shell: bash
@@ -270,12 +270,12 @@ jobs:
270270
python-version: '3.x'
271271

272272
- name: Get specific version of CMake, Ninja
273-
uses: lukka/get-cmake@v3.24.2
273+
uses: lukka/get-cmake@v3.29.0
274274

275-
- name: Set up Python 3.8
276-
uses: actions/setup-python@v4
275+
- name: Set up Python 3.11
276+
uses: actions/setup-python@v5
277277
with:
278-
python-version: "3.8"
278+
python-version: "3.11"
279279

280280
- name: Evaluate template
281281
shell: bash

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ on: [push,pull_request]
44

55
jobs:
66
cxx-build-workflow:
7-
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@246883ef3828fc00219145aeec9efa67b9889d0b
7+
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@df1df6398389fa1a99d169b1264b9647d2164dd0
88

99
python-build-workflow:
10-
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@246883ef3828fc00219145aeec9efa67b9889d0b
10+
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@df1df6398389fa1a99d169b1264b9647d2164dd0
1111
secrets:
1212
pypi_password: ${{ "{{" }} secrets.pypi_password {{ "}}" }}

0 commit comments

Comments
 (0)