Skip to content

Commit 64ec678

Browse files
ci: Make compiler warning into errors on CI
This also tidies the list of environment variables in .cirrus.yml.
1 parent aad117b commit 64ec678

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.cirrus.yml

+14-7
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,28 @@
11
env:
2-
WIDEMUL: auto
2+
### compiler options
3+
HOST:
4+
# Specific warnings can be disabled with -Wno-error=foo.
5+
# -pedantic-errors is not equivalent to -Werror=pedantic and thus not implied by -Werror according to the GCC manual.
6+
WERROR_CFLAGS: -Werror -pedantic-errors
7+
MAKEFLAGS: -j2
8+
BUILD: check
9+
### secp256k1 config
310
STATICPRECOMPUTATION: yes
411
ECMULTGENPRECISION: auto
512
ASM: no
6-
BUILD: check
13+
WIDEMUL: auto
714
WITH_VALGRIND: yes
815
EXTRAFLAGS:
9-
HOST:
16+
### secp256k1 modules
17+
EXPERIMENTAL: no
1018
ECDH: no
1119
RECOVERY: no
1220
SCHNORRSIG: no
13-
EXPERIMENTAL: no
14-
CTIMETEST: yes
15-
BENCH: yes
21+
### test options
1622
TEST_ITERS:
23+
BENCH: yes
1724
BENCH_ITERS: 2
18-
MAKEFLAGS: -j2
25+
CTIMETEST: yes
1926

2027
cat_logs_snippet: &CAT_LOGS
2128
always:

0 commit comments

Comments
 (0)