Skip to content

Commit

Permalink
[tool] Update pipeline to fail whenever there is a warning during com…
Browse files Browse the repository at this point in the history
…pilation
  • Loading branch information
savacano28 committed Dec 19, 2024
1 parent 305966e commit d9c49c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ orbs:
jobs:
windows_x86_64_compile:
executor: win/default
environment:
# Fail the build if there are warnings
RUSTFLAGS: '-D warnings'
steps:
- checkout
- restore_cache:
Expand All @@ -18,7 +21,7 @@ jobs:
- run: ./rustup-init.exe -vy
- run: rustup toolchain install stable-x86_64-pc-windows-msvc
- run: rustup default stable-x86_64-pc-windows-msvc
- run: cargo build --release -Dwarnings
- run: cargo build --release
- save_cache:
key: cargo-{{ arch }}-{{ checksum "Cargo.toml" }}
paths:
Expand Down

0 comments on commit d9c49c0

Please sign in to comment.