Skip to content

Commit

Permalink
Add Cargo profile for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Gawdl3y committed Dec 10, 2023
1 parent f659c69 commit a029991
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: -- -C codegen-units=16
args: -- --profile ci
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ resolver = "2"
lto = "thin"
codegen-units = 1
panic = "abort"

[profile.ci]
inherits = "release"
codegen-units = 16

0 comments on commit a029991

Please sign in to comment.