Skip to content

Commit

Permalink
Make warnings fatal in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-larraz committed Jan 18, 2024
1 parent 8715737 commit 9654b38
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/kind2-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ jobs:
- name: Install Kind2 OCaml dependencies
run: opam install -y . --deps-only

- name: Make OCaml warnings fatal
run: |
head -n1 dune-project > dune-workspace
echo '(profile strict)' >> dune-workspace
- name: Build Kind2
run: opam exec make

Expand Down
6 changes: 5 additions & 1 deletion src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@
(env
(dev
(flags
(:standard -warn-error -A -w A-4-9-29-40-41-42-44-48-67-70))))
(:standard -warn-error -A -w A-4-9-29-40-41-42-44-48-67-70)))
(strict
(flags
(:standard -warn-error A -w A-4-9-29-40-41-42-44-48-67-70)))
)

0 comments on commit 9654b38

Please sign in to comment.