Skip to content

Commit af5ccc6

Browse files
authored
Merge pull request #7 from mseng10/update-github-actions
2 parents 8a2595b + e0c195e commit af5ccc6

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

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

Lines changed: 6 additions & 4 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.0"
16+
itk-git-tag: "v5.1.1"
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.0"
21+
itk-git-tag: "v5.1.1"
2222
cmake-build-type: "Release"
2323
- os: macos-10.15
2424
c-compiler: "clang"
2525
cxx-compiler: "clang++"
26-
itk-git-tag: "v5.1.0"
26+
itk-git-tag: "v5.1.1"
2727
cmake-build-type: "MinSizeRel"
2828

2929
steps:
@@ -61,7 +61,6 @@ jobs:
6161
cd ..
6262
mkdir ITK-build
6363
cd ITK-build
64-
echo %cd%
6564
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
6665
cmake -DCMAKE_C_COMPILER:FILEPATH="${{ matrix.c-compiler }}" -DBUILD_SHARED_LIBS:BOOL=OFF -DCMAKE_CXX_COMPILER="${{ matrix.cxx-compiler }}" -DCMAKE_BUILD_TYPE:STRING=${{ matrix.cmake-build-type }} -DBUILD_TESTING:BOOL=OFF -GNinja ../ITK
6766
ninja
@@ -101,6 +100,9 @@ jobs:
101100
set(dashboard_no_clean 1)
102101
set(ENV{CC} ${{ matrix.c-compiler }})
103102
set(ENV{CXX} ${{ matrix.cxx-compiler }})
103+
if(WIN32)
104+
set(ENV{PATH} "\${CTEST_DASHBOARD_ROOT}/ITK-build/bin;\$ENV{PATH}")
105+
endif()
104106
set(dashboard_cache "
105107
ITK_DIR:PATH=\${CTEST_DASHBOARD_ROOT}/ITK-build
106108
BUILD_TESTING:BOOL=ON

0 commit comments

Comments
 (0)