@@ -3,6 +3,8 @@ name: Build, test, package
33on : [push,pull_request]
44
55env :
6+ itk-git-tag : " 801370c025c7d296783481779a41c6d559c992c5"
7+ itk-wheel-tag : " v5.3rc04"
68 ITKBSplineGradient-git-tag : v0.2.4
79 ITKHigherOrderAccurateGradient-git-tag : v1.1.0
810 ITKSplitComponents-git-tag : v2.0.4
@@ -19,17 +21,14 @@ jobs:
1921 - os : ubuntu-18.04
2022 c-compiler : " gcc"
2123 cxx-compiler : " g++"
22- itk-git-tag : " v5.3rc03"
2324 cmake-build-type : " MinSizeRel"
2425 - os : windows-2019
2526 c-compiler : " cl.exe"
2627 cxx-compiler : " cl.exe"
27- itk-git-tag : " v5.3rc03"
2828 cmake-build-type : " Release"
2929 - os : macos-10.15
3030 c-compiler : " clang"
3131 cxx-compiler : " clang++"
32- itk-git-tag : " v5.3rc03"
3332 cmake-build-type : " MinSizeRel"
3433
3534 steps :
5352 cd ..
5453 git clone https://github.com/InsightSoftwareConsortium/ITK.git
5554 cd ITK
56- git checkout ${{ matrix .itk-git-tag }}
55+ git checkout ${{ env .itk-git-tag }}
5756
5857 - name : Build ITK
5958 if : matrix.os != 'windows-2019'
@@ -141,8 +140,6 @@ jobs:
141140 max-parallel : 2
142141 matrix :
143142 python-version : [37, 38, 39, 310]
144- include :
145- - itk-python-git-tag : " v5.3rc03"
146143
147144 steps :
148145 - uses : actions/checkout@v2
@@ -168,7 +165,7 @@ jobs:
168165
169166 - name : ' Build 🐍 Python 📦 package'
170167 run : |
171- export ITK_PACKAGE_VERSION=${{ matrix .itk-python-git -tag }}
168+ export ITK_PACKAGE_VERSION=${{ env .itk-wheel -tag }}
172169 git clone https://github.com/InsightSoftwareConsortium/ITKBSplineGradient.git
173170 cp ./dockcross-manylinux-download-cache-and-build-module-wheels.sh ./ITKBSplineGradient
174171 pushd ITKBSplineGradient
@@ -218,9 +215,6 @@ jobs:
218215 runs-on : macos-10.15
219216 strategy :
220217 max-parallel : 2
221- matrix :
222- include :
223- - itk-python-git-tag : " v5.3rc03"
224218
225219 steps :
226220 - uses : actions/checkout@v2
@@ -239,7 +233,7 @@ jobs:
239233
240234 - name : ' Build 🐍 Python 📦 package'
241235 run : |
242- export ITK_PACKAGE_VERSION=${{ matrix .itk-python-git -tag }}
236+ export ITK_PACKAGE_VERSION=${{ env .itk-wheel -tag }}
243237 export MACOSX_DEPLOYMENT_TARGET=10.9
244238 git clone https://github.com/InsightSoftwareConsortium/ITKBSplineGradient
245239 cp ./macpython-download-cache-and-build-module-wheels.sh ITKBSplineGradient/
@@ -281,8 +275,6 @@ jobs:
281275 max-parallel : 2
282276 matrix :
283277 python-version-minor : [7, 8, 9, 10]
284- include :
285- - itk-python-git-tag : " v5.3rc03"
286278
287279 steps :
288280 - name : Get specific version of CMake, Ninja
@@ -303,7 +295,7 @@ jobs:
303295 run : |
304296 mv im ../../
305297 cd ../../im
306- curl -L "https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${{ matrix .itk-python-git -tag }}/ITKPythonBuilds-windows.zip" -o "ITKPythonBuilds-windows.zip"
298+ curl -L "https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${{ env .itk-wheel -tag }}/ITKPythonBuilds-windows.zip" -o "ITKPythonBuilds-windows.zip"
307299 7z x ITKPythonBuilds-windows.zip -o/c/P -aoa -r
308300 curl -L "https://data.kitware.com/api/v1/file/5c0ad59d8d777f2179dd3e9c/download" -o "doxygen-1.8.11.windows.bin.zip"
309301 7z x doxygen-1.8.11.windows.bin.zip -o/c/P/doxygen -aoa -r
@@ -319,7 +311,7 @@ jobs:
319311 run : |
320312 cd ../../im
321313 call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
322- set PATH=" C:\P\grep;%PATH%"
314+ set PATH=C:\P\grep;%PATH%
323315 set CC=cl.exe
324316 set CXX=cl.exe
325317 cd ITKBSplineGradient
0 commit comments