Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pyushkevich authored Oct 1, 2024
1 parent ccbdd7d commit 2f403a7
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,26 +164,24 @@ jobs:
clean: false
path: 'itksnap'

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}

# Build ITK-SNAP
- name: Build ITK-SNAP
# Configure ITK-SNAP
- name: Configure ITK-SNAP
uses: threeal/[email protected]
continue-on-error: true
with:
source-dir: ${{github.workspace}}/itksnap
build-dir: ${{github.workspace}}/itksnap/build
generator: Ninja
build-args: |
-t
package
run-build: false
options: |
ITK_DIR=${{github.workspace}}/itk/build
VTK_DIR=${{github.workspace}}/vtk/install/lib/cmake/vtk-9.3
CMAKE_BUILD_TYPE=Release
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}

# Cache the ITK-SNAP build
- name: Cache ITK-SNAP build directory
uses: actions/cache/save@v4
Expand Down

0 comments on commit 2f403a7

Please sign in to comment.