-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d3e3b7d
commit d6c8f59
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -191,6 +191,7 @@ jobs: | |
|
||
# Checkout ITK-SNAP code | ||
- name: Checkout code | ||
if: ${{ github.event_name == 'workflow_dispatch' && inputs.use_cached_itksnap_build }} | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
@@ -199,6 +200,7 @@ jobs: | |
|
||
# Configure ITK-SNAP | ||
- name: Configure ITK-SNAP | ||
if: ${{ github.event_name == 'workflow_dispatch' && inputs.use_cached_itksnap_build }} | ||
uses: threeal/[email protected] | ||
continue-on-error: true | ||
with: | ||
|
@@ -218,6 +220,7 @@ jobs: | |
# Build ITK-SNAP using CDash | ||
- name: Build and Test ITK-SNAP | ||
if: ${{ github.event_name == 'workflow_dispatch' && inputs.use_cached_itksnap_build }} | ||
working-directory: ${{github.workspace}}/itksnap/build | ||
run: | | ||
${{ matrix.test_pref }} ctest -D ExperimentalStart | ||
|
@@ -228,6 +231,7 @@ jobs: | |
# Cache the ITK-SNAP build | ||
- name: Cache ITK-SNAP build directory | ||
if: ${{ github.event_name == 'workflow_dispatch' && inputs.use_cached_itksnap_build }} | ||
uses: actions/cache/save@v4 | ||
with: | ||
path: ${{github.workspace}}/itksnap | ||
|
@@ -237,7 +241,7 @@ jobs: | |
- name: Package ITK-SNAP | ||
working-directory: ${{github.workspace}}/itksnap/build | ||
run: | | ||
cmake --build -t package | ||
cmake --build -- -t package | ||
- name: Setup tmate session | ||
uses: mxschmitt/action-tmate@v3 | ||
|