File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 18
18
runs-on : ubuntu-latest
19
19
env :
20
20
CARGO_INCREMENTAL : " 0"
21
- RUSTFLAGS : " -Z profile -C codegen-units=1 -C inline-threshold =0 -C link-dead-code -C overflow-checks=off -C panic=abort -Z panic_abort_tests "
22
- RUSTDOCFLAGS : " -Z profile -C codegen-units=1 -C inline-threshold =0 -C link-dead-code -C overflow-checks=off -C panic=abort -Z panic_abort_tests "
21
+ RUSTFLAGS : " -Z profile -C codegen-units=1 -C opt-level =0 -C link-dead-code -C overflow-checks=off -Z panic_abort_tests - C panic=abort"
22
+ RUSTDOCFLAGS : " -Z profile -C codegen-units=1 -C opt-level =0 -C link-dead-code -C overflow-checks=off -Z panic_abort_tests - C panic=abort"
23
23
24
24
steps :
25
25
- id : checkout_push
55
55
name : Run Build Checks
56
56
run : cargo check --tests --benches --examples --workspace --all-targets --all-features
57
57
58
- # Run Test Locally:
59
- # RUSTFLAGS="-Z profile -C codegen-units=1 -C inline-threshold=0 -C link-dead-code -C overflow-checks=off -C panic=abort -Z panic_abort_tests" RUSTDOCFLAGS="-Z profile -C codegen-units=1 -C inline-threshold=0 -C link-dead-code -C overflow-checks=off -C panic=abort -Z panic_abort_tests" CARGO_INCREMENTAL="0" RUST_BACKTRACE=1 cargo test --tests --benches --examples --workspace --all-targets --all-features
58
+ - id : clean
59
+ name : Clean Build Directory
60
+ run : cargo clean
60
61
61
62
- id : test
62
63
name : Run Unit Tests
You can’t perform that action at this time.
0 commit comments