Skip to content

Commit f3c7972

Browse files
authored
Merge pull request #109 from thewtex/itk-5.2.0
ENH: Update CI to ITK v5.2.0
2 parents c40389b + 9db75af commit f3c7972

File tree

3 files changed

+36
-21
lines changed

3 files changed

+36
-21
lines changed

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

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,26 @@ jobs:
1313
- os: ubuntu-18.04
1414
c-compiler: "gcc"
1515
cxx-compiler: "g++"
16-
itk-git-tag: "v5.2rc03"
16+
itk-git-tag: "v5.2.0"
1717
cmake-build-type: "MinSizeRel"
1818
- os: windows-2019
1919
c-compiler: "cl.exe"
2020
cxx-compiler: "cl.exe"
21-
itk-git-tag: "v5.2rc03"
21+
itk-git-tag: "v5.2.0"
2222
cmake-build-type: "Release"
2323
- os: macos-10.15
2424
c-compiler: "clang"
2525
cxx-compiler: "clang++"
26-
itk-git-tag: "v5.2rc03"
26+
itk-git-tag: "v5.2.0"
2727
cmake-build-type: "MinSizeRel"
2828

2929
steps:
3030
- uses: actions/checkout@v1
3131

32-
- name: Set up Python 3.7
33-
uses: actions/setup-python@v1
32+
- name: Set up Python 3.8
33+
uses: actions/setup-python@v2
3434
with:
35-
python-version: 3.7
35+
python-version: 3.8
3636

3737
- name: Install build dependencies
3838
run: |
@@ -137,13 +137,13 @@ jobs:
137137
shell: cmd
138138

139139
build-linux-python-packages:
140-
runs-on: ubuntu-18.04
140+
runs-on: ubuntu-20.04
141141
strategy:
142142
max-parallel: 2
143143
matrix:
144144
python-version: [36, 37, 38, 39]
145145
include:
146-
- itk-python-git-tag: "v5.2rc03"
146+
- itk-python-git-tag: "v5.2.0"
147147

148148
steps:
149149
- uses: actions/checkout@v2
@@ -157,6 +157,11 @@ jobs:
157157
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
158158
df -h
159159
160+
- name: Set up Python 3.8
161+
uses: actions/setup-python@v2
162+
with:
163+
python-version: 3.8
164+
160165
- name: Evaluate template
161166
shell: bash
162167
run: |
@@ -187,7 +192,7 @@ jobs:
187192
max-parallel: 2
188193
matrix:
189194
include:
190-
- itk-python-git-tag: "v5.2rc03"
195+
- itk-python-git-tag: "v5.2.0"
191196

192197
steps:
193198
- uses: actions/checkout@v2
@@ -204,6 +209,11 @@ jobs:
204209
curl -L https://raw.githubusercontent.com/InsightSoftwareConsortium/ITKPythonPackage/master/scripts/macpython-download-cache-and-build-module-wheels.sh -O
205210
chmod u+x macpython-download-cache-and-build-module-wheels.sh
206211
212+
- name: Set up Python 3.8
213+
uses: actions/setup-python@v2
214+
with:
215+
python-version: 3.8
216+
207217
- name: Evaluate template
208218
shell: bash
209219
run: |
@@ -231,7 +241,7 @@ jobs:
231241
matrix:
232242
python-version-minor: [6, 7, 8, 9]
233243
include:
234-
- itk-python-git-tag: "v5.2rc03"
244+
- itk-python-git-tag: "v5.2.0"
235245

236246
steps:
237247
- uses: actions/checkout@v2
@@ -249,6 +259,11 @@ jobs:
249259
- name: Get specific version of CMake, Ninja
250260
uses: lukka/[email protected]
251261

262+
- name: Set up Python 3.8
263+
uses: actions/setup-python@v2
264+
with:
265+
python-version: 3.8
266+
252267
- name: Evaluate template
253268
shell: bash
254269
run: |

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,26 @@ jobs:
1313
- os: ubuntu-18.04
1414
c-compiler: "gcc"
1515
cxx-compiler: "g++"
16-
itk-git-tag: "v5.2rc03"
16+
itk-git-tag: "v5.2.0"
1717
cmake-build-type: "MinSizeRel"
1818
- os: windows-2019
1919
c-compiler: "cl.exe"
2020
cxx-compiler: "cl.exe"
21-
itk-git-tag: "v5.2rc03"
21+
itk-git-tag: "v5.2.0"
2222
cmake-build-type: "Release"
2323
- os: macos-10.15
2424
c-compiler: "clang"
2525
cxx-compiler: "clang++"
26-
itk-git-tag: "v5.2rc03"
26+
itk-git-tag: "v5.2.0"
2727
cmake-build-type: "MinSizeRel"
2828

2929
steps:
3030
- uses: actions/checkout@v1
3131

32-
- name: Set up Python 3.7
33-
uses: actions/setup-python@v1
32+
- name: Set up Python 3.8
33+
uses: actions/setup-python@v2
3434
with:
35-
python-version: 3.7
35+
python-version: 3.8
3636

3737
- name: Install build dependencies
3838
run: |
@@ -130,13 +130,13 @@ jobs:
130130
shell: cmd
131131

132132
build-linux-python-packages:
133-
runs-on: ubuntu-18.04
133+
runs-on: ubuntu-20.04
134134
strategy:
135135
max-parallel: 2
136136
matrix:
137137
python-version: [36, 37, 38, 39]
138138
include:
139-
- itk-python-git-tag: "v5.2rc03"
139+
- itk-python-git-tag: "v5.2.0"
140140

141141
steps:
142142
- uses: actions/checkout@v2
@@ -172,7 +172,7 @@ jobs:
172172
max-parallel: 2
173173
matrix:
174174
include:
175-
- itk-python-git-tag: "v5.2rc03"
175+
- itk-python-git-tag: "v5.2.0"
176176

177177
steps:
178178
- uses: actions/checkout@v2
@@ -208,7 +208,7 @@ jobs:
208208
matrix:
209209
python-version-minor: [6, 7, 8, 9]
210210
include:
211-
- itk-python-git-tag: "v5.2rc03"
211+
- itk-python-git-tag: "v5.2.0"
212212

213213
steps:
214214
- name: Get specific version of CMake, Ninja

{{cookiecutter.project_name}}/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@
4343
keywords='ITK InsightToolkit',
4444
url=r'https://itk.org/',
4545
install_requires=[
46-
r'itk>=5.2rc3'
46+
r'itk>=5.2.0'
4747
]
4848
)

0 commit comments

Comments
 (0)