@@ -2,6 +2,10 @@ name: Build, test, package
2
2
3
3
on : [push,pull_request]
4
4
5
+ env :
6
+ itk-git-tag : " 801370c025c7d296783481779a41c6d559c992c5"
7
+ itk-wheel-tag : " v5.3rc04"
8
+
5
9
jobs :
6
10
build-test-cxx :
7
11
runs-on : ${{ matrix.os }}
@@ -13,17 +17,14 @@ jobs:
13
17
- os : ubuntu-18.04
14
18
c-compiler : " gcc"
15
19
cxx-compiler : " g++"
16
- itk-git-tag : " a89145bccda6a36f42cfdd45d3a6b27234ff54fe"
17
20
cmake-build-type : " MinSizeRel"
18
21
- os : windows-2019
19
22
c-compiler : " cl.exe"
20
23
cxx-compiler : " cl.exe"
21
- itk-git-tag : " a89145bccda6a36f42cfdd45d3a6b27234ff54fe"
22
24
cmake-build-type : " Release"
23
25
- os : macos-10.15
24
26
c-compiler : " clang"
25
27
cxx-compiler : " clang++"
26
- itk-git-tag : " a89145bccda6a36f42cfdd45d3a6b27234ff54fe"
27
28
cmake-build-type : " MinSizeRel"
28
29
29
30
steps :
47
48
cd ..
48
49
git clone https://github.com/InsightSoftwareConsortium/ITK.git
49
50
cd ITK
50
- git checkout ${{ matrix .itk-git-tag }}
51
+ git checkout ${{ env .itk-git-tag }}
51
52
52
53
- name : Build ITK
53
54
if : matrix.os != 'windows-2019'
@@ -134,9 +135,7 @@ jobs:
134
135
strategy :
135
136
max-parallel : 2
136
137
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]
140
139
141
140
steps :
142
141
- uses : actions/checkout@v2
@@ -157,7 +156,7 @@ jobs:
157
156
158
157
- name : ' Build 🐍 Python 📦 package'
159
158
run : |
160
- export ITK_PACKAGE_VERSION=${{ matrix .itk-python-git -tag }}
159
+ export ITK_PACKAGE_VERSION=${{ env .itk-wheel -tag }}
161
160
./dockcross-manylinux-download-cache-and-build-module-wheels.sh cp${{ matrix.python-version }}
162
161
163
162
- name : Publish Python package as GitHub Artifact
@@ -170,9 +169,6 @@ jobs:
170
169
runs-on : macos-10.15
171
170
strategy :
172
171
max-parallel : 2
173
- matrix :
174
- include :
175
- - itk-python-git-tag : " v5.2.0.post2"
176
172
177
173
steps :
178
174
- uses : actions/checkout@v2
@@ -191,7 +187,7 @@ jobs:
191
187
192
188
- name : ' Build 🐍 Python 📦 package'
193
189
run : |
194
- export ITK_PACKAGE_VERSION=${{ matrix .itk-python-git -tag }}
190
+ export ITK_PACKAGE_VERSION=${{ env .itk-wheel -tag }}
195
191
export MACOSX_DEPLOYMENT_TARGET=10.9
196
192
./macpython-download-cache-and-build-module-wheels.sh
197
193
@@ -206,9 +202,7 @@ jobs:
206
202
strategy :
207
203
max-parallel : 2
208
204
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]
212
206
213
207
steps :
214
208
- name : Get specific version of CMake, Ninja
@@ -229,7 +223,7 @@ jobs:
229
223
run : |
230
224
mv im ../../
231
225
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"
233
227
7z x ITKPythonBuilds-windows.zip -o/c/P -aoa -r
234
228
curl -L "https://data.kitware.com/api/v1/file/5c0ad59d8d777f2179dd3e9c/download" -o "doxygen-1.8.11.windows.bin.zip"
235
229
7z x doxygen-1.8.11.windows.bin.zip -o/c/P/doxygen -aoa -r
@@ -241,7 +235,7 @@ jobs:
241
235
run : |
242
236
cd ../../im
243
237
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%
245
239
set CC=cl.exe
246
240
set CXX=cl.exe
247
241
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
0 commit comments