File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed
Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -129,10 +129,17 @@ jobs:
129129 # ## INSTALL ###
130130
131131 - name : Install Celeritas
132+ id : install
132133 working-directory : build
133134 run : |
134135 cmake --install .
136+ cmake --build . --target clean
135137 - name : Check installation
138+ if : >-
139+ ${{
140+ !cancelled()
141+ && steps.install.outcome == 'success'
142+ }}
136143 working-directory : install
137144 run : |
138145 for exe in orange-update celer-export-geant \
@@ -144,7 +151,8 @@ jobs:
144151 # TODO: rocm+ndebug fails to propagate HIP library link
145152 if : >-
146153 ${{
147- !(matrix.image == 'ubuntu-rocm' && matrix.buildtype == 'ndebug')
154+ steps.install.outcome == 'success'
155+ && !(matrix.image == 'ubuntu-rocm' && matrix.buildtype == 'ndebug')
148156 }}
149157 run : |
150158 . /etc/profile
Original file line number Diff line number Diff line change @@ -355,6 +355,7 @@ jobs:
355355 working-directory : build
356356 run : |
357357 ninja install
358+ ninja clean
358359 - name : Check installation
359360 if : >-
360361 ${{
@@ -370,13 +371,12 @@ jobs:
370371 ./bin/celer-sim --config
371372 - name : Build examples
372373 env :
373- CELER_DISABLE_G4_EXAMPLES : >-
374- ${{(!matrix.geant) && '1' || ''}}
375- # Special clang features require downstream flags that don't propagate
374+ CELER_DISABLE_G4_EXAMPLES : ${{(!matrix.geant) && '1' || ''}}
375+ # `asanlite` requires downstream flags that don't propagate
376376 if : >-
377377 ${{
378- matrix.special != 'asanlite '
379- && matrix.special != 'tidy '
378+ steps.install.outcome == 'success '
379+ && matrix.special != 'asanlite '
380380 }}
381381 run : |
382382 . ${SPACK_VIEW}/rc
You can’t perform that action at this time.
0 commit comments