@@ -2,6 +2,10 @@ name: Build, test, package
22
33on : [push,pull_request]
44
5+ env :
6+ itk-git-tag : " v5.3rc04"
7+ itk-wheel-tag : " v5.3rc04.post1" # Same ITK C++ reference commit, different tag name
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 : " d6acfd26bfcdec606d605beb1301bddfb17c05a6"
1720 cmake-build-type : " MinSizeRel"
1821 - os : windows-2019
1922 c-compiler : " cl.exe"
2023 cxx-compiler : " cl.exe"
21- itk-git-tag : " d6acfd26bfcdec606d605beb1301bddfb17c05a6"
2224 cmake-build-type : " Release"
2325 - os : macos-10.15
2426 c-compiler : " clang"
2527 cxx-compiler : " clang++"
26- itk-git-tag : " d6acfd26bfcdec606d605beb1301bddfb17c05a6"
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.3rc04"
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
@@ -191,7 +190,7 @@ jobs:
191190
192191 - name : ' Build 🐍 Python 📦 package'
193192 run : |
194- export ITK_PACKAGE_VERSION=${{ matrix .itk-python-git -tag }}
193+ export ITK_PACKAGE_VERSION=${{ env .itk-wheel -tag }}
195194 export MACOSX_DEPLOYMENT_TARGET=10.9
196195 ./macpython-download-cache-and-build-module-wheels.sh
197196
@@ -229,7 +228,7 @@ jobs:
229228 run : |
230229 mv im ../../
231230 cd ../../im
232- curl -L "https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${{ matrix .itk-python-git -tag }}/ITKPythonBuilds-windows.zip" -o "ITKPythonBuilds-windows.zip"
231+ curl -L "https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${{ env .itk-wheel -tag }}/ITKPythonBuilds-windows.zip" -o "ITKPythonBuilds-windows.zip"
233232 7z x ITKPythonBuilds-windows.zip -o/c/P -aoa -r
234233 curl -L "https://data.kitware.com/api/v1/file/5c0ad59d8d777f2179dd3e9c/download" -o "doxygen-1.8.11.windows.bin.zip"
235234 7z x doxygen-1.8.11.windows.bin.zip -o/c/P/doxygen -aoa -r
0 commit comments