Skip to content
This repository was archived by the owner on Apr 25, 2026. It is now read-only.

Commit 1720bae

Browse files
committed
BUG: Incorporate ITKModuleTemplate CI configuration updates
1 parent 4cec024 commit 1720bae

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ jobs:
7979
operating_system="${{ matrix.os }}"
8080
cat > dashboard.cmake << EOF
8181
set(CTEST_SITE "GitHubActions")
82-
file(TO_CMAKE_PATH "${GITHUB_WORKSPACE}/.." CTEST_DASHBOARD_ROOT)
83-
file(TO_CMAKE_PATH "${GITHUB_WORKSPACE}/" CTEST_SOURCE_DIRECTORY)
84-
file(TO_CMAKE_PATH "${GITHUB_WORKSPACE}/../build" CTEST_BINARY_DIRECTORY)
82+
file(TO_CMAKE_PATH "\$ENV{GITHUB_WORKSPACE}/.." CTEST_DASHBOARD_ROOT)
83+
file(TO_CMAKE_PATH "\$ENV{GITHUB_WORKSPACE}/" CTEST_SOURCE_DIRECTORY)
84+
file(TO_CMAKE_PATH "\$ENV{GITHUB_WORKSPACE}/../build" CTEST_BINARY_DIRECTORY)
8585
set(dashboard_source_name "${GITHUB_REPOSITORY}")
8686
if(ENV{GITHUB_REF} MATCHES "master")
8787
set(branch "-master")
@@ -120,13 +120,13 @@ jobs:
120120
- name: Build and test
121121
if: matrix.os != 'windows-2019'
122122
run: |
123-
ctest -j 2 -V -S dashboard.cmake
123+
ctest --output-on-failure -j 2 -V -S dashboard.cmake
124124
125125
- name: Build and test
126126
if: matrix.os == 'windows-2019'
127127
run: |
128128
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
129-
ctest -j 2 -V -S dashboard.cmake
129+
ctest --output-on-failure -j 2 -V -S dashboard.cmake
130130
shell: cmd
131131

132132
build-linux-python-packages:
@@ -228,7 +228,7 @@ jobs:
228228
shell: bash
229229
run: |
230230
mv im ../../
231-
cd ../../im
231+
cd ../../
232232
curl -L "https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${{ matrix.itk-python-git-tag }}/ITKPythonBuilds-windows.zip" -o "ITKPythonBuilds-windows.zip"
233233
7z x ITKPythonBuilds-windows.zip -o/c/P -aoa -r
234234
curl -L "https://data.kitware.com/api/v1/file/5c0ad59d8d777f2179dd3e9c/download" -o "doxygen-1.8.11.windows.bin.zip"
@@ -244,13 +244,13 @@ jobs:
244244
set PATH="C:\P\grep;%PATH%"
245245
set CC=cl.exe
246246
set CXX=cl.exe
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"
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
248248
249249
- name: Publish Python package as GitHub Artifact
250250
uses: actions/upload-artifact@v1
251251
with:
252252
name: WindowsWheel3.${{ matrix.python-version-minor }}
253-
path: dist
253+
path: ../../im/dist
254254

255255
publish-python-packages-to-pypi:
256256
needs:

0 commit comments

Comments
 (0)