Skip to content

Commit 7896315

Browse files
committed
Group build commands and print notice about build dir size
1 parent 20d051a commit 7896315

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/build-docker.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,10 @@ jobs:
9393
- name: Build Celeritas
9494
working-directory: build
9595
run: |
96-
ninja
96+
echo "::group::Build verbosely"
97+
ninja -v -k0
98+
echo "::endgroup::"
99+
echo "::notice title=build-size::$(du -hs . | awk '{print $1}')"
97100
98101
### TEST ###
99102

.github/workflows/build-spack.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,10 @@ jobs:
242242
working-directory: build
243243
run: |
244244
ccache -z
245+
echo "::group::Build verbosely"
245246
ninja -v -k0
247+
echo "::endgroup::"
248+
echo "::notice title=build-size::$(du -hs . | awk '{print $1}')"
246249
- name: Show ccache stats
247250
if: ${{!cancelled() && steps.installdeps.outcome == 'success'}}
248251
run: |

0 commit comments

Comments
 (0)