Skip to content

Commit ed5c147

Browse files
committed
fatalwarnings job
1 parent 81ff5f5 commit ed5c147

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,20 @@ jobs:
2020
- 'rocq/rocq-prover:dev'
2121
- 'rocq/rocq-prover:9.0'
2222
- 'coqorg/coq:8.20'
23+
profile:
24+
- dev
25+
include:
26+
- image: 'rocq/rocq-prover:dev'
27+
profile: fatalwarnings
2328
fail-fast: false # don't stop jobs if one fails
2429
steps:
2530
- uses: actions/checkout@v3
2631
- uses: coq-community/docker-coq-action@v1
2732
with:
2833
opam_file: 'rocq-elpi.opam'
2934
custom_image: ${{ matrix.image }}
35+
before_script: |
36+
if [ "${{ matrix.profile }}" = "fatalwarnings" ]; then sed -i 's/-A/+A/' dune; fi
3037
after_script: |
3138
sudo chmod -R a+w .
3239
make all-examples

dune

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
(env
22
(dev
33
(flags (:standard -w -9 -w -32 -w -27 -w -6 -w -37 -warn-error -A))
4-
(coq (flags -w +elpi.deprecated -w +elpi.implication-precedence -bt)))
5-
(fatalwarnings
6-
(flags (:standard -w -9 -w -32 -w -27 -w -6 -w -37 -warn-error +A))
74
(coq (flags -w +elpi.deprecated -w +elpi.implication-precedence -bt))))

0 commit comments

Comments
 (0)