Skip to content

Commit

Permalink
BIT-353: BIT-353 change cargo profiles a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardogr committed Oct 6, 2023
1 parent 22c657c commit e08ed7b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ jobs:

- name: 🔎 Test
run: |
cargo test --tests
cargo test --tests --profile ci-test
- name: 🚀 Build executable
run: |
cargo build --release
cargo build --release --profile ci-release
- name: Srtool build
id: srtool_build
Expand Down
17 changes: 8 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,17 @@ members = [
"runtime",
]

[profile.dev]
opt-level = 1
codegen-units = 16
incremental = true

[profile.test]
[profile.ci-dev]
inherits = "dev"
opt-level = 1
codegen-units = 16
opt-level = 0
incremental = true
codegen-units = 256

[profile.ci-test]
inherits = "ci-dev"

[profile.release]
[profile.ci-release]
inherits = "release"
panic = "unwind"
opt-level = 3
codegen-units = 8

0 comments on commit e08ed7b

Please sign in to comment.