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 d9c49c0 commit 6d70514
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 @@ -108,6 +108,8 @@ jobs:
linux_x86_64_compile:
machine:
image: ubuntu-2204:current
environment:
RUSTFLAGS: '-D warnings'
steps:
- checkout
- restore_cache:
Expand Down Expand Up @@ -154,6 +156,8 @@ jobs:
machine:
image: ubuntu-2204:current
resource_class: arm.medium
environment:
RUSTFLAGS: '-D warnings'
steps:
- checkout
- restore_cache:
Expand Down Expand Up @@ -201,6 +205,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 @@ -241,6 +247,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 6d70514

Please sign in to comment.