mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 09:45:31 +00:00
GitHub CI: speed up test compilation
This commit is contained in:
parent
9f60c4e460
commit
304ff0a8ee
2 changed files with 5 additions and 1 deletions
2
.github/workflows/cargo-build-and-test.yml
vendored
2
.github/workflows/cargo-build-and-test.yml
vendored
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
cargo build --verbose -p aquatic_http
|
||||
cargo build --verbose -p aquatic_ws
|
||||
- name: Run tests
|
||||
run: cargo test --verbose --workspace --all-targets
|
||||
run: cargo test --verbose --workspace --profile "test-fast"
|
||||
|
||||
|
||||
build-macos:
|
||||
|
|
|
|||
|
|
@ -35,3 +35,7 @@ inherits = "release-debug"
|
|||
[profile.release-debug]
|
||||
inherits = "release"
|
||||
debug = true
|
||||
|
||||
[profile.test-fast]
|
||||
inherits = "release"
|
||||
lto = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue