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 73a89ae commit 5305761
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
linux_x86_64_compile:
machine:
image: ubuntu-2204:current
environment:
RUSTFLAGS: '-D warnings'
steps:
- checkout
- restore_cache:
Expand Down Expand Up @@ -94,6 +96,8 @@ jobs:
machine:
image: ubuntu-2204:current
resource_class: arm.medium
environment:
RUSTFLAGS: '-D warnings'
steps:
- checkout
- restore_cache:
Expand Down Expand Up @@ -137,6 +141,8 @@ jobs:
macos:
xcode: 15.3.0
resource_class: macos.m1.medium.gen1
environment:
RUSTFLAGS: '-D warnings'
steps:
- checkout
- restore_cache:
Expand Down Expand Up @@ -173,6 +179,8 @@ jobs:
macos_x86_64_compile:
machine: true
resource_class: openbas-platform/openbas-agent-macos-64bits-x86
environment:
RUSTFLAGS: '-D warnings'
steps:
- checkout
- restore_cache:
Expand Down

0 comments on commit 5305761

Please sign in to comment.