Skip to content

Commit ac36d2f

Browse files
committed
freebsd.yml: Avoid no space left on device
1 parent fcf7571 commit ac36d2f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/freebsd.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ jobs:
133133
- uses: actions/checkout@v6
134134
with:
135135
persist-credentials: false
136+
- name: Avoid no space left on device (Ubuntu runner)
137+
run: sudo rm -rf /usr/share/dotnet /usr/local/lib/android
136138
- uses: Swatinem/rust-cache@v2
137139
- name: Run sccache-cache
138140
uses: mozilla-actions/sccache-action@v0.0.9
@@ -192,6 +194,7 @@ jobs:
192194
set +e
193195
cd "${WORKSPACE}"
194196
unset FAULT
197+
export RUSTFLAGS="-C strip=symbols" # for disk space
195198
cargo build || FAULT=1
196199
export PATH=~/.cargo/bin:${PATH}
197200
export RUST_BACKTRACE=1

0 commit comments

Comments
 (0)