GitHub CI: speed up test compilation

This commit is contained in:
Joakim Frostegård 2022-07-19 16:26:46 +02:00
parent 9f60c4e460
commit 304ff0a8ee
2 changed files with 5 additions and 1 deletions

View file

@ -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:

View file

@ -35,3 +35,7 @@ inherits = "release-debug"
[profile.release-debug]
inherits = "release"
debug = true
[profile.test-fast]
inherits = "release"
lto = false