Skip to content

Commit 059c6bc

Browse files
authored
Merge pull request #74 from InsightSoftwareConsortium/itk-5.1rc03
Itk 5.1rc03
2 parents 164c017 + 20d44a7 commit 059c6bc

File tree

3 files changed

+91
-16
lines changed

3 files changed

+91
-16
lines changed
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
name: Python Packages
2+
3+
on: [push]
4+
5+
jobs:
6+
Linux:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v1
11+
12+
- name: Fetch build script
13+
run: |
14+
curl -L https://raw.githubusercontent.com/InsightSoftwareConsortium/ITKPythonPackage/master/scripts/dockcross-manylinux-download-cache-and-build-module-wheels.sh -O
15+
chmod u+x dockcross-manylinux-download-cache-and-build-module-wheels.sh
16+
17+
- name: Build Python packages
18+
run: |
19+
export ITK_PACKAGE_VERSION=v5.1rc03
20+
./dockcross-manylinux-download-cache-and-build-module-wheels.sh
21+
22+
- name: Upload wheel artifact
23+
uses: actions/upload-artifact@v1
24+
with:
25+
name: LinuxWheels
26+
path: dist
27+
28+
MacOS:
29+
runs-on: macos-10.15
30+
31+
steps:
32+
- uses: actions/checkout@v1
33+
34+
- name: Fetch build script
35+
run: |
36+
curl -L https://raw.githubusercontent.com/InsightSoftwareConsortium/ITKPythonPackage/master/scripts/macpython-download-cache-and-build-module-wheels.sh -O
37+
chmod u+x macpython-download-cache-and-build-module-wheels.sh
38+
39+
- name: Build Python packages
40+
run: |
41+
export ITK_PACKAGE_VERSION=v5.1rc03
42+
./macpython-download-cache-and-build-module-wheels.sh
43+
44+
- name: Upload wheel artifact
45+
uses: actions/upload-artifact@v1
46+
with:
47+
name: MacOSWheels
48+
path: dist
49+
50+
Windows:
51+
runs-on: windows-2019
52+
53+
steps:
54+
- uses: actions/checkout@v1
55+
56+
- name: Fetch build script
57+
run: |
58+
curl -L https://raw.githubusercontent.com/InsightSoftwareConsortium/ITKPythonPackage/master/scripts/windows-download-cache-and-build-module-wheels.ps1 -O
59+
60+
- name: Build Python packages
61+
run: |
62+
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
63+
set ITK_PACKAGE_VERSION=v5.1rc03
64+
set CC=cl.exe
65+
set CXX=cl.exe
66+
powershell.exe -file .\windows-download-cache-and-build-module-wheels.ps1
67+
shell: cmd
68+
69+
- name: Upload wheel artifact
70+
uses: actions/upload-artifact@v1
71+
with:
72+
name: WindowsWheels
73+
path: dist

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
setup(
1515
name='itk-minimalpathextraction',
16-
version='1.0.2',
16+
version='1.1rc1',
1717
author='Insight Software Consortium',
1818
author_email='[email protected]',
1919
packages=['itk'],
@@ -49,6 +49,6 @@
4949
keywords='ITK InsightToolkit',
5050
url=r'https://github.com/InsightSoftwareConsortium/ITKMinimalPathExtraction',
5151
install_requires=[
52-
r'itk>=5.0.0.post1'
52+
r'itk>=5.1rc3'
5353
]
5454
)

test/azure-pipelines.yml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
variables:
2-
ITKGitTag: v5.1rc02
3-
ITKPythonPost: v5.1rc02
2+
ITKGitTag: v5.1rc03
3+
ITKPythonGitTag: v5.1rc03
44
CMakeBuildType: Release
55

66
trigger:
@@ -19,20 +19,20 @@ jobs:
1919
strategy:
2020
matrix:
2121
Linux:
22-
imageName: 'ubuntu-16.04'
22+
imageName: 'ubuntu-18.04'
2323
cCompiler: gcc
2424
cxxCompiler: g++
2525
compilerInitialization: ''
2626
macOS:
27-
imageName: 'macos-10.13'
27+
imageName: 'macos-10.15'
2828
cCompiler: clang
2929
cxxCompiler: clang++
3030
compilerInitialization: ''
3131
Windows:
32-
imageName: 'vs2017-win2016'
32+
imageName: 'windows-2019'
3333
cCompiler: cl.exe
3434
cxxCompiler: cl.exe
35-
compilerInitialization: 'call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat"'
35+
compilerInitialization: 'call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"'
3636

3737
pool:
3838
vmImage: $(imageName)
@@ -58,7 +58,9 @@ jobs:
5858
displayName: 'Install build dependencies'
5959
6060
- script: |
61-
git clone --depth 5 --branch $(ITKGitTag) https://github.com/InsightSoftwareConsortium/ITK.git
61+
git clone https://github.com/InsightSoftwareConsortium/ITK.git
62+
cd ITK
63+
git checkout $(ITKGitTag)
6264
workingDirectory: $(Agent.BuildDirectory)
6365
displayName: 'Download ITK'
6466
@@ -148,7 +150,7 @@ jobs:
148150
cancelTimeoutInMinutes: 300
149151
displayName: "Build Linux Python packages"
150152
pool:
151-
vmImage: 'Ubuntu-16.04'
153+
vmImage: 'Ubuntu-18.04'
152154

153155
steps:
154156
- script: |
@@ -157,7 +159,7 @@ jobs:
157159
displayName: 'Fetch build script'
158160
159161
- script: |
160-
export ITK_PACKAGE_VERSION=$(ITKGitTag)$(ITKPythonPost)
162+
export ITK_PACKAGE_VERSION=$(ITKPythonGitTag)
161163
./dockcross-manylinux-download-cache-and-build-module-wheels.sh
162164
displayName: 'Build Python packages'
163165
@@ -172,7 +174,7 @@ jobs:
172174
timeoutInMinutes: 0
173175
cancelTimeoutInMinutes: 300
174176
pool:
175-
vmImage: 'macos-10.14'
177+
vmImage: 'macos-10.15'
176178

177179
steps:
178180
- script: |
@@ -181,7 +183,7 @@ jobs:
181183
displayName: 'Fetch build script'
182184
183185
- script: |
184-
export ITK_PACKAGE_VERSION=$(ITKGitTag)$(ITKPythonPost)
186+
export ITK_PACKAGE_VERSION=$(ITKPythonGitTag)
185187
./macpython-download-cache-and-build-module-wheels.sh
186188
displayName: 'Build Python packages'
187189
@@ -196,16 +198,16 @@ jobs:
196198
timeoutInMinutes: 0
197199
cancelTimeoutInMinutes: 300
198200
pool:
199-
vmImage: 'vs2017-win2016'
201+
vmImage: 'windows-2019'
200202

201203
steps:
202204
- script: |
203205
curl -L https://raw.githubusercontent.com/InsightSoftwareConsortium/ITKPythonPackage/master/scripts/windows-download-cache-and-build-module-wheels.ps1 -O
204206
displayName: 'Fetch build script'
205207
206208
- script: |
207-
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
208-
set ITK_PACKAGE_VERSION=$(ITKGitTag)$(ITKPythonPost)
209+
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
210+
set ITK_PACKAGE_VERSION=$(ITKPythonGitTag)
209211
set CC=cl.exe
210212
set CXX=cl.exe
211213
powershell.exe -file .\windows-download-cache-and-build-module-wheels.ps1

0 commit comments

Comments
 (0)