@@ -2,6 +2,10 @@ name: Build, test, package
22
33on : [push,pull_request]
44
5+ env :
6+ itk-git-tag : " 801370c025c7d296783481779a41c6d559c992c5"
7+ itk-wheel-tag : " v5.3rc04"
8+
59jobs :
610 build-test-cxx :
711 runs-on : ${{ "{{" }} matrix.os {{ "}}" }}
@@ -13,17 +17,14 @@ jobs:
1317 - os : ubuntu-20.04
1418 c-compiler : " gcc"
1519 cxx-compiler : " g++"
16- itk-git-tag : " v5.3rc03"
1720 cmake-build-type : " MinSizeRel"
1821 - os : windows-2019
1922 c-compiler : " cl.exe"
2023 cxx-compiler : " cl.exe"
21- itk-git-tag : " v5.3rc03"
2224 cmake-build-type : " Release"
2325 - os : macos-10.15
2426 c-compiler : " clang"
2527 cxx-compiler : " clang++"
26- itk-git-tag : " v5.3rc03"
2728 cmake-build-type : " MinSizeRel"
2829
2930 steps :
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'
@@ -135,8 +136,6 @@ jobs:
135136 max-parallel : 2
136137 matrix :
137138 python-version : [37, 38, 39, 310]
138- include :
139- - itk-python-git-tag : " v5.3rc03"
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.3rc03"
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
@@ -207,8 +203,6 @@ jobs:
207203 max-parallel : 2
208204 matrix :
209205 python-version-minor : [7, 8, 9, 10]
210- include :
211- - itk-python-git-tag : " v5.3rc03"
212206
213207 steps :
214208 - name : Get specific version of CMake, Ninja
@@ -229,7 +223,7 @@ jobs:
229223 run : |
230224 mv im ../../
231225 cd ../../im
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
0 commit comments