Skip to content

Commit 2026df0

Browse files
ci: Set -Werror for all CI builds
This also tidies the list of environment variables in .cirrus.yml.
1 parent f29aa67 commit 2026df0

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

.cirrus.yml

+15-9
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
11
env:
2-
WIDEMUL: auto
2+
## compiler options
3+
HOST:
4+
WERROR_CFLAGS: -Werror # Specific warnings can be disabled with -Wno-error=foo.
5+
MAKEFLAGS: -j2
6+
EXTRAFLAGS:
7+
BUILD: check
8+
# secp256k1 config
39
STATICPRECOMPUTATION: yes
410
ECMULTGENPRECISION: auto
511
ASM: no
6-
BUILD: check
12+
WIDEMUL: auto
713
WITH_VALGRIND: yes
814
RUN_VALGRIND: no
9-
EXTRAFLAGS:
10-
HOST:
11-
ECDH: no
12-
RECOVERY: no
13-
SCHNORRSIG: no
14-
EXPERIMENTAL: no
1515
CTIMETEST: yes
1616
BENCH: yes
1717
ITERS: 2
18-
MAKEFLAGS: -j2
18+
# secp256k1 modules
19+
EXPERIMENTAL: no
20+
ECDH: no
21+
RECOVERY: no
22+
SCHNORRSIG: no
1923

2024
cat_logs_snippet: &CAT_LOGS
2125
always:
@@ -207,6 +211,8 @@ task:
207211
WINE_CMD: wine64-stable
208212
HOST: x86_64-w64-mingw32
209213
BUILD:
214+
# https://github.com/bitcoin-core/secp256k1/issues/923
215+
WERROR_CFLAGS: -Werror -Wno-error=attributes
210216
WITH_VALGRIND: no
211217
ECDH: yes
212218
RECOVERY: yes

0 commit comments

Comments
 (0)