Set opt-level = 1 on dev profile
This commit is contained in:
parent
d08f1c3dff
commit
73e91dda50
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -45,6 +45,10 @@ jobs:
|
||||
- name: Cache Dependencies
|
||||
uses: Swatinem/rust-cache@ce325b60658c1b38465c06cc965b79baf32c1e72
|
||||
|
||||
- name: Bump opt-level
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: sed -i '/\[profile.dev]/a opt-level=1' Cargo.toml
|
||||
|
||||
- name: Compile
|
||||
run: cargo test --no-run --locked
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user