Skip to content

Commit

Permalink
[native] Add disk usage output to CI
Browse files Browse the repository at this point in the history
The Linux debug build consumes a lot of disk space and occasionally
the worker can run out of disk space. This adds some more information on
the disk space consumption and availability to keep an eye on it.
  • Loading branch information
czentgr authored and majetideepak committed Jan 22, 2025
1 parent 84955a8 commit c2b22c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/prestocpp-linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ jobs:
find . -name tests | xargs rm -r
find . -name test | xargs rm -rf
- name: Disk space consumption before build
run: df

- name: Build engine
run: |
source /opt/rh/gcc-toolset-12/enable
Expand All @@ -72,6 +75,9 @@ jobs:
-DMAX_LINK_JOBS=4
ninja -C _build/debug -j 4
- name: Disk space consumption after build
run: df

- name: Ccache after
run: ccache -s

Expand Down

0 comments on commit c2b22c0

Please sign in to comment.