Skip to content

Commit 9ca4b9a

Browse files
authored
Merge pull request #90 from thewtex/ci-updates
ENH: Update CI configuration for ITK 5.2 RC 1
2 parents a074013 + 709da9a commit 9ca4b9a

File tree

2 files changed

+27
-11
lines changed

2 files changed

+27
-11
lines changed

.github/workflows/build-test-package.yml

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ jobs:
1313
- os: ubuntu-18.04
1414
c-compiler: "gcc"
1515
cxx-compiler: "g++"
16-
itk-git-tag: "v5.1.1"
16+
itk-git-tag: "abd38d5a0040b9a8fbb0ad3127089dbb72a93342"
1717
cmake-build-type: "MinSizeRel"
1818
- os: windows-2019
1919
c-compiler: "cl.exe"
2020
cxx-compiler: "cl.exe"
21-
itk-git-tag: "v5.1.1"
21+
itk-git-tag: "abd38d5a0040b9a8fbb0ad3127089dbb72a93342"
2222
cmake-build-type: "Release"
2323
- os: macos-10.15
2424
c-compiler: "clang"
2525
cxx-compiler: "clang++"
26-
itk-git-tag: "v5.1.1"
26+
itk-git-tag: "abd38d5a0040b9a8fbb0ad3127089dbb72a93342"
2727
cmake-build-type: "MinSizeRel"
2828

2929
steps:
@@ -39,6 +39,9 @@ jobs:
3939
python -m pip install --upgrade pip
4040
python -m pip install ninja
4141
42+
- name: Get specific version of CMake, Ninja
43+
uses: lukka/get-cmake@v3.18.3
44+
4245
- name: Download ITK
4346
run: |
4447
cd ..
@@ -100,6 +103,9 @@ jobs:
100103
set(dashboard_no_clean 1)
101104
set(ENV{CC} ${{ matrix.c-compiler }})
102105
set(ENV{CXX} ${{ matrix.cxx-compiler }})
106+
if(WIN32)
107+
set(ENV{PATH} "\${CTEST_DASHBOARD_ROOT}/ITK-build/bin;\$ENV{PATH}")
108+
endif()
103109
set(dashboard_cache "
104110
ITK_DIR:PATH=\${CTEST_DASHBOARD_ROOT}/ITK-build
105111
BUILD_TESTING:BOOL=ON
@@ -128,9 +134,9 @@ jobs:
128134
strategy:
129135
max-parallel: 2
130136
matrix:
131-
python-version: [35, 36, 37, 38]
137+
python-version: [36, 37, 38, 39]
132138
include:
133-
- itk-python-git-tag: "v5.1.1"
139+
- itk-python-git-tag: "v5.2rc01"
134140

135141
steps:
136142
- uses: actions/checkout@v2
@@ -166,11 +172,18 @@ jobs:
166172
max-parallel: 2
167173
matrix:
168174
include:
169-
- itk-python-git-tag: "v5.1.1"
175+
- itk-python-git-tag: "v5.2rc01"
170176

171177
steps:
172178
- uses: actions/checkout@v2
173179

180+
- name: 'Specific XCode version'
181+
run: |
182+
sudo xcode-select -s "/Applications/Xcode_11.7.app"
183+
184+
- name: Get specific version of CMake, Ninja
185+
uses: lukka/get-cmake@v3.18.3
186+
174187
- name: 'Fetch build script'
175188
run: |
176189
curl -L https://raw.githubusercontent.com/InsightSoftwareConsortium/ITKPythonPackage/master/scripts/macpython-download-cache-and-build-module-wheels.sh -O
@@ -193,11 +206,14 @@ jobs:
193206
strategy:
194207
max-parallel: 2
195208
matrix:
196-
python-version-minor: [5, 6, 7, 8]
209+
python-version-minor: [6, 7, 8, 9]
197210
include:
198-
- itk-python-git-tag: "v5.1.1"
211+
- itk-python-git-tag: "v5.2rc01"
199212

200213
steps:
214+
- name: Get specific version of CMake, Ninja
215+
uses: lukka/get-cmake@v3.18.3
216+
201217
- uses: actions/checkout@v2
202218
with:
203219
path: "im"
@@ -228,12 +244,12 @@ jobs:
228244
set PATH="C:\P\grep;%PATH%"
229245
set CC=cl.exe
230246
set CXX=cl.exe
231-
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"
247+
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
232248
233249
- name: Publish Python package as GitHub Artifact
234250
uses: actions/upload-artifact@v1
235251
with:
236-
name: WindowWheel3.${{ matrix.python-version-minor }}
252+
name: WindowsWheel3.${{ matrix.python-version-minor }}
237253
path: ../../im/dist
238254

239255
publish-python-packages-to-pypi:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@
4848
keywords='ITK InsightToolkit glcm texture features image imaging',
4949
url=r'https://itk.org/',
5050
install_requires=[
51-
r'itk>=5.1.1'
51+
r'itk>=5.2rc1'
5252
]
5353
)

0 commit comments

Comments
 (0)