@@ -105,7 +105,7 @@ jobs:
105105 continue-on-error : false
106106 steps :
107107 - name : Check out Celeritas
108- uses : actions/checkout@v4
108+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 (2 Dec 2025)
109109 with :
110110 fetch-depth : ${{format('{0}', matrix.special != 'tidy' && 383 || 0)}}
111111 fetch-tags : true # to get version information
@@ -122,6 +122,7 @@ jobs:
122122 path : spack-src
123123 - name : Initialize spack environment
124124 run : |
125+ echo "::notice title=spack-arch::Spack architecture is $(spack arch)"
125126 sed -e 's/cxxstd=default/cxxstd=${{env.CXXSTD}}/' \
126127 scripts/ci/spack.yaml > spack.yaml
127128 if ${{matrix.geometry == 'vecgeom'}}; then
@@ -144,7 +145,9 @@ jobs:
144145 && matrix.geant != ''}}; then
145146146147 fi
148+ echo "::group::Find compilers"
147149 spack -vd -e . compiler find --mixed-toolchain
150+ echo "::endgroup::"
148151 # Add the spack ref so that updating spack will reconcretize
149152 echo "# Concretized with ${{env.SPACK_REF}}" >> spack.yaml
150153 - name : Cache concretization
@@ -159,7 +162,6 @@ jobs:
159162 run : |
160163 spack -e . -v concretize || (
161164 ERR=$?
162- spack arch
163165 cat spack.yaml
164166 exit $ERR
165167 )
@@ -188,8 +190,6 @@ jobs:
188190
189191 - name : Configure Celeritas
190192 run : |
191- # NOTE: tags have issues, see https://github.com/actions/checkout/issues/2041
192- git fetch --tags
193193 ln -fs scripts/cmake-presets/ci-ubuntu-github.json CMakeUserPresets.json
194194 if ${{matrix.geant == '11.0'}}; then
195195 # Test overriding of Geant4 environment variables
@@ -244,7 +244,10 @@ jobs:
244244 working-directory : build
245245 run : |
246246 ccache -z
247+ echo "::group::Build verbosely"
247248 ninja -v -k0
249+ echo "::endgroup::"
250+ echo "::notice title=build-size::Build size is $(du -hs . | awk '{print $1}')"
248251 - name : Show ccache stats
249252 if : ${{!cancelled() && steps.installdeps.outcome == 'success'}}
250253 run : |
@@ -356,7 +359,10 @@ jobs:
356359 }}
357360 working-directory : build
358361 run : |
359- ninja install
362+ echo "::group::Install"
363+ cmake --install .
364+ echo "::endgroup::"
365+ ninja clean
360366 - name : Check installation
361367 if : >-
362368 ${{
@@ -372,13 +378,12 @@ jobs:
372378 ./bin/celer-sim --config
373379 - name : Build examples
374380 env :
375- CELER_DISABLE_G4_EXAMPLES : >-
376- ${{(!matrix.geant) && '1' || ''}}
377- # Special clang features require downstream flags that don't propagate
381+ CELER_DISABLE_G4_EXAMPLES : ${{(!matrix.geant) && '1' || ''}}
382+ # `asanlite` requires downstream flags that don't propagate
378383 if : >-
379384 ${{
380- matrix.special != 'asanlite '
381- && matrix.special != 'tidy '
385+ steps.install.outcome == 'success '
386+ && matrix.special != 'asanlite '
382387 }}
383388 run : |
384389 . ${SPACK_VIEW}/rc
0 commit comments