Skip to content

Commit 3c6da38

Browse files
committed
ci: free disk space by removing /output folder when it's no longer needed
1 parent 2bcb984 commit 3c6da38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-src.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ jobs:
9999
./ci/dash/build_src.sh
100100
ccache -X 9
101101
ccache -c
102+
du -hd0 "${BASE_OUTDIR}"
103+
rm -rf "${BASE_OUTDIR}"
102104
shell: bash
103105

104106
- name: Save ccache cache
@@ -121,7 +123,6 @@ jobs:
121123

122124
- name: Run unit tests
123125
run: |
124-
BASE_OUTDIR="/output"
125126
BUILD_TARGET="${{ inputs.build-target }}"
126127
source ./ci/dash/matrix.sh
127128
./ci/dash/test_unittests.sh

0 commit comments

Comments
 (0)