Skip to content

Commit 1ae1ce7

Browse files
committed
github actions: build - create binary artifact; windows - don't delete ITK source;
1 parent feba1f8 commit 1ae1ce7

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,6 @@ jobs:
131131
cd itk-5.4.0
132132
cmake -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{env.ITK_CMAKE_OPTIONS}} -DVTK_DIR:PATH=${{github.workspace}}/vtk-9.4.1/lib/cmake/vtk-9.4 ../itk-src-5.4.0
133133
cmake --build . --config ${{env.BUILD_TYPE}} -j 4
134-
cd ..
135-
rm -r src-5.4.0.tar.gz
136134
137135
- name: Install npm
138136
uses: actions/setup-node@v4
@@ -151,4 +149,13 @@ jobs:
151149
shell: bash
152150
run: |
153151
cmake -B ${{env.OPENIA_BIN_DIR}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{env.OPENIA_CMAKE_OPTIONS}} -DITK_DIR=${{github.workspace}}/itk-5.4.0/lib/cmake/ITK-5.4 .
154-
cmake --build ${{env.OPENIA_BIN_DIR}} --config ${{env.BUILD_TYPE}} -j 4
152+
cmake --build ${{env.OPENIA_BIN_DIR}} -- --config ${{env.BUILD_TYPE}} -j 4
153+
cmake --install ${{env.OPENIA_BIN_DIR}} --config ${{env.BUILD_TYPE}} --prefix ${{github.workspace}}/install
154+
155+
- name: Create zip archive
156+
uses: actions/upload-artifact@v4
157+
with:
158+
name: open_iA-${{runner.os}}-latest.zip
159+
path: ${{github.workspace}}/install
160+
if-no-files-found: error
161+
overwrite: true

.github/workflows/doxygen.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,18 @@ jobs:
1111
builddoc:
1212
name: Generate API doc
1313
runs-on: ubuntu-latest
14+
1415
steps:
16+
1517
- name: Checkout repository
1618
uses: actions/checkout@v4
19+
1720
- name: Run doxygen
1821
uses: mattnotmitt/doxygen-action@v1.9.5
1922
with:
2023
# working-directory: '.'
2124
doxyfile-path: 'Doxyfile'
25+
2226
- name: Create zip archive
2327
uses: actions/upload-artifact@v4
2428
# see https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/storing-and-sharing-data-from-a-workflow

0 commit comments

Comments
 (0)