@@ -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-18.04
1418 c-compiler : " gcc"
1519 cxx-compiler : " g++"
16- itk-git-tag : " 801370c025c7d296783481779a41c6d559c992c5"
1720 cmake-build-type : " MinSizeRel"
1821 - os : windows-2019
1922 c-compiler : " cl.exe"
2023 cxx-compiler : " cl.exe"
21- itk-git-tag : " 801370c025c7d296783481779a41c6d559c992c5"
2224 cmake-build-type : " Release"
2325 - os : macos-10.15
2426 c-compiler : " clang"
2527 cxx-compiler : " clang++"
26- itk-git-tag : " 801370c025c7d296783481779a41c6d559c992c5"
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'
@@ -136,8 +137,6 @@ jobs:
136137 max-parallel : 2
137138 matrix :
138139 python-version : [37, 38, 39, 310]
139- include :
140- - itk-python-git-tag : " v5.3rc04"
141140
142141 steps :
143142 - uses : actions/checkout@v2
@@ -158,7 +157,7 @@ jobs:
158157
159158 - name : ' Build 🐍 Python 📦 package'
160159 run : |
161- export ITK_PACKAGE_VERSION=${{ matrix .itk-python-git -tag }}
160+ export ITK_PACKAGE_VERSION=${{ env .itk-wheel -tag }}
162161 ./dockcross-manylinux-download-cache-and-build-module-wheels.sh cp${{ matrix.python-version }}
163162
164163 - name : Publish Python package as GitHub Artifact
@@ -171,9 +170,6 @@ jobs:
171170 runs-on : macos-10.15
172171 strategy :
173172 max-parallel : 2
174- matrix :
175- include :
176- - itk-python-git-tag : " v5.3rc04"
177173
178174 steps :
179175 - uses : actions/checkout@v2
@@ -192,7 +188,7 @@ jobs:
192188
193189 - name : ' Build 🐍 Python 📦 package'
194190 run : |
195- export ITK_PACKAGE_VERSION=${{ matrix .itk-python-git -tag }}
191+ export ITK_PACKAGE_VERSION=${{ env .itk-wheel -tag }}
196192 export MACOSX_DEPLOYMENT_TARGET=10.9
197193 ./macpython-download-cache-and-build-module-wheels.sh
198194
@@ -208,8 +204,6 @@ jobs:
208204 max-parallel : 2
209205 matrix :
210206 python-version-minor : [7, 8, 9, 10]
211- include :
212- - itk-python-git-tag : " v5.3rc04"
213207
214208 steps :
215209 - name : Get specific version of CMake, Ninja
@@ -230,7 +224,7 @@ jobs:
230224 run : |
231225 mv im ../../
232226 cd ../../
233- curl -L "https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${{ matrix .itk-python-git -tag }}/ITKPythonBuilds-windows.zip" -o "ITKPythonBuilds-windows.zip"
227+ curl -L "https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${{ env .itk-wheel -tag }}/ITKPythonBuilds-windows.zip" -o "ITKPythonBuilds-windows.zip"
234228 7z x ITKPythonBuilds-windows.zip -o/c/P -aoa -r
235229 curl -L "https://data.kitware.com/api/v1/file/5c0ad59d8d777f2179dd3e9c/download" -o "doxygen-1.8.11.windows.bin.zip"
236230 7z x doxygen-1.8.11.windows.bin.zip -o/c/P/doxygen -aoa -r
0 commit comments