Skip to content

Commit 450ce65

Browse files
committed
github actions: CodeQL - fix folder for rm (itk/vtk), fix itk build folder, add df -h call
1 parent 1135ad6 commit 450ce65

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/codeql.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,11 @@ jobs:
9393
cmake -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{env.VTK_CMAKE_OPTIONS}} -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/vtk-9.4.1 ../VTK-9.4.1
9494
cmake --build . --config ${{env.BUILD_TYPE}} -j 4
9595
cmake --install . --config ${{env.BUILD_TYPE}}
96-
cd ..
96+
cd ../..
9797
rm -r vtk
9898
ls -al vtk-9.4.1
9999
du -sh vtk-9.4.1
100+
df -h
100101
101102
##################################################################
102103
# ITK
@@ -115,15 +116,16 @@ jobs:
115116
curl https://github.com/InsightSoftwareConsortium/ITK/releases/download/v5.4.0/InsightToolkit-5.4.0.tar.gz --output ${{github.workspace}}/itk/src-5.4.0.tar.gz
116117
cd ${{github.workspace}}/itk
117118
tar -xvzf src-5.4.0.tar.gz
118-
mkdir bin 5.4.0
119+
mkdir bin-5.4.0
119120
cd bin-5.4.0
120121
cmake -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{env.ITK_CMAKE_OPTIONS}} -DVTK_DIR:PATH=${{github.workspace}}/vtk-9.4.1 -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/InsightToolkit-5.4.0 ../src-5.4.0
121122
cmake --build . --config ${{env.BUILD_TYPE}} -j 4
122123
cmake --install . --config ${{env.BUILD_TYPE}}
123-
cd ..
124+
cd ../..
124125
rm -r itk
125126
ls -al itk-5.4.0
126127
du -sh itk-5.4.0
128+
df -h
127129
128130
- if: matrix.build-mode == 'manual'
129131
name: open_iA install dependencies
@@ -141,6 +143,7 @@ jobs:
141143
run: |
142144
cmake -B ${{env.OPENIA_BIN_DIR}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{env.OPENIA_CMAKE_OPTIONS}} -DITK_DIR=${{github.workspace}}/itk-5.4.0 .
143145
cmake --build ${{env.OPENIA_BIN_DIR}} --config ${{env.BUILD_TYPE}} -j 4
146+
df -h
144147
#exit 1
145148
146149
- name: Perform CodeQL Analysis

0 commit comments

Comments
 (0)