Skip to content

Commit

Permalink
ci(actions): prevent "out of space" error on github actions ubuntu im…
Browse files Browse the repository at this point in the history
  • Loading branch information
arunanshub authored Feb 22, 2024
1 parent 70d0cf9 commit 2ed9ea6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
steps:
- uses: actions/checkout@v4

# use mold linker instead of the default linker only on linux
- uses: rui314/setup-mold@v1
if: ${{ runner.os == 'Linux' }}

- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
Expand Down
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ repository = "https://github.com/bytebeamio/rumqtt"
license = "Apache-2.0"
authors = ["tekjar <[email protected]>"]

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

[profile.release]
codegen-units = 1
Expand Down

0 comments on commit 2ed9ea6

Please sign in to comment.