Skip to content

Commit d4e754b

Browse files
authored
Merge pull request #38 from tbirdso/update-ci
ENH: Bump ITK version
2 parents b57ee45 + e13b416 commit d4e754b

2 files changed

Lines changed: 12 additions & 18 deletions

File tree

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

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Build, test, package
22

33
on: [push,pull_request]
44

5+
env:
6+
itk-git-tag: "801370c025c7d296783481779a41c6d559c992c5"
7+
itk-wheel-tag: "v5.3rc04"
8+
59
jobs:
610
build-test-cxx:
711
runs-on: ${{ matrix.os }}
@@ -13,17 +17,14 @@ jobs:
1317
- os: ubuntu-18.04
1418
c-compiler: "gcc"
1519
cxx-compiler: "g++"
16-
itk-git-tag: "a89145bccda6a36f42cfdd45d3a6b27234ff54fe"
1720
cmake-build-type: "MinSizeRel"
1821
- os: windows-2019
1922
c-compiler: "cl.exe"
2023
cxx-compiler: "cl.exe"
21-
itk-git-tag: "a89145bccda6a36f42cfdd45d3a6b27234ff54fe"
2224
cmake-build-type: "Release"
2325
- os: macos-10.15
2426
c-compiler: "clang"
2527
cxx-compiler: "clang++"
26-
itk-git-tag: "a89145bccda6a36f42cfdd45d3a6b27234ff54fe"
2728
cmake-build-type: "MinSizeRel"
2829

2930
steps:
@@ -47,7 +48,7 @@ jobs:
4748
cd ..
4849
git clone https://github.com/InsightSoftwareConsortium/ITK.git
4950
cd ITK
50-
git checkout ${{ matrix.itk-git-tag }}
51+
git checkout ${{ env.itk-git-tag }}
5152
5253
- name: Build ITK
5354
if: matrix.os != 'windows-2019'
@@ -134,9 +135,7 @@ jobs:
134135
strategy:
135136
max-parallel: 2
136137
matrix:
137-
python-version: [36, 37, 38, 39]
138-
include:
139-
- itk-python-git-tag: "v5.2.0.post2"
138+
python-version: [37, 38, 39, 310]
140139

141140
steps:
142141
- uses: actions/checkout@v2
@@ -157,7 +156,7 @@ jobs:
157156
158157
- name: 'Build 🐍 Python 📦 package'
159158
run: |
160-
export ITK_PACKAGE_VERSION=${{ matrix.itk-python-git-tag }}
159+
export ITK_PACKAGE_VERSION=${{ env.itk-wheel-tag }}
161160
./dockcross-manylinux-download-cache-and-build-module-wheels.sh cp${{ matrix.python-version }}
162161
163162
- name: Publish Python package as GitHub Artifact
@@ -170,9 +169,6 @@ jobs:
170169
runs-on: macos-10.15
171170
strategy:
172171
max-parallel: 2
173-
matrix:
174-
include:
175-
- itk-python-git-tag: "v5.2.0.post2"
176172

177173
steps:
178174
- uses: actions/checkout@v2
@@ -191,7 +187,7 @@ jobs:
191187
192188
- name: 'Build 🐍 Python 📦 package'
193189
run: |
194-
export ITK_PACKAGE_VERSION=${{ matrix.itk-python-git-tag }}
190+
export ITK_PACKAGE_VERSION=${{ env.itk-wheel-tag }}
195191
export MACOSX_DEPLOYMENT_TARGET=10.9
196192
./macpython-download-cache-and-build-module-wheels.sh
197193
@@ -206,9 +202,7 @@ jobs:
206202
strategy:
207203
max-parallel: 2
208204
matrix:
209-
python-version-minor: [6, 7, 8, 9]
210-
include:
211-
- itk-python-git-tag: "v5.2.0.post2"
205+
python-version-minor: [7, 8, 9, 10]
212206

213207
steps:
214208
- name: Get specific version of CMake, Ninja
@@ -229,7 +223,7 @@ jobs:
229223
run: |
230224
mv im ../../
231225
cd ../../
232-
curl -L "https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${{ matrix.itk-python-git-tag }}/ITKPythonBuilds-windows.zip" -o "ITKPythonBuilds-windows.zip"
226+
curl -L "https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${{ env.itk-wheel-tag }}/ITKPythonBuilds-windows.zip" -o "ITKPythonBuilds-windows.zip"
233227
7z x ITKPythonBuilds-windows.zip -o/c/P -aoa -r
234228
curl -L "https://data.kitware.com/api/v1/file/5c0ad59d8d777f2179dd3e9c/download" -o "doxygen-1.8.11.windows.bin.zip"
235229
7z x doxygen-1.8.11.windows.bin.zip -o/c/P/doxygen -aoa -r
@@ -241,7 +235,7 @@ jobs:
241235
run: |
242236
cd ../../im
243237
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
244-
set PATH="C:\P\grep;%PATH%"
238+
set PATH=C:\P\grep;%PATH%
245239
set CC=cl.exe
246240
set CXX=cl.exe
247241
C:\Python3${{ matrix.python-version-minor }}-x64\python.exe C:\P\IPP\scripts\windows_build_module_wheels.py --py-envs "3${{ matrix.python-version-minor }}-x64" --no-cleanup

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@
4848
keywords='ITK Higher-order Derivative Gradient',
4949
url=r'https://github.com/InsightSoftwareConsortium/ITKHigherOrderAccurateGradient',
5050
install_requires=[
51-
r'itk>=v5.2.0.post2'
51+
r'itk>=v5.3rc04'
5252
]
5353
)

0 commit comments

Comments
 (0)