Skip to content

Commit 2ed9ea6

Browse files
authored
ci(actions): prevent "out of space" error on github actions ubuntu image (#804)
1 parent 70d0cf9 commit 2ed9ea6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Diff for: .github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ jobs:
3636
steps:
3737
- uses: actions/checkout@v4
3838

39+
# use mold linker instead of the default linker only on linux
40+
- uses: rui314/setup-mold@v1
41+
if: ${{ runner.os == 'Linux' }}
42+
3943
- uses: dtolnay/rust-toolchain@stable
4044
with:
4145
components: clippy

Diff for: Cargo.toml

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ repository = "https://github.com/bytebeamio/rumqtt"
1313
license = "Apache-2.0"
1414
authors = ["tekjar <[email protected]>"]
1515

16-
[profile.dev.build-override]
17-
debug = true
16+
[profile.dev]
17+
# producing debug info in builds takes up a lot of space on runner, and we
18+
# are currently not using it.
19+
debug = false
1820

1921
[profile.release]
2022
codegen-units = 1

0 commit comments

Comments
 (0)