Skip to content

Commit

Permalink
feat: improve CI times and caching by avoiding incremental builds and…
Browse files Browse the repository at this point in the history
… debug info
  • Loading branch information
Angelmmiguel committed Oct 19, 2023
1 parent d8e57cc commit e9c6b46
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
branches: [ "main", "v[0-9]+.[0-9]+" ]

env:
# Disabling debug info and incremental builds to speed up builds a bunch.
# See https://matklad.github.io/2021/09/04/fast-rust-builds.html#CI-Workflow
CARGO_INCREMENTAL: 0
CARGO_PROFILE_DEV_DEBUG: 0
CARGO_TERM_COLOR: always

jobs:
Expand Down Expand Up @@ -70,5 +74,7 @@ jobs:
run: make all
- name: Build wws on release mode
run: cargo build --verbose --release
- name: Compile test
run: cargo test --no-run --locked
- name: Test
run: cargo test --workspace -- --show-output

0 comments on commit e9c6b46

Please sign in to comment.