Skip to content

Commit a21ead0

Browse files
committed
Enable side-effect free check in CI
1 parent b657f53 commit a21ead0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.cirrus.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ env:
1717
BENCH: yes
1818
ITERS: 2
1919
MAKEFLAGS: -j2
20+
CHECK_SIDE_EFFECT_FREE: yes
2021

2122
cat_logs_snippet: &CAT_LOGS
2223
always:
@@ -64,7 +65,7 @@ task:
6465
- env: {BIGNUM: no, STATICPRECOMPUTATION: no}
6566
- env: {BUILD: distcheck, WITH_VALGRIND: no, CTIMETEST: no, BENCH: no}
6667
- env: {CPPFLAGS: -DDETERMINISTIC}
67-
- env: {CFLAGS: -O0, CTIMETEST: no}
68+
- env: {CFLAGS: -O0, CTIMETEST: no, CHECK_SIDE_EFFECT_FREE: no}
6869
- env:
6970
CFLAGS: "-fsanitize=undefined -fno-omit-frame-pointer"
7071
LDFLAGS: "-fsanitize=undefined -fno-omit-frame-pointer"
@@ -76,6 +77,7 @@ task:
7677
EXPERIMENTAL: yes
7778
SCHNORRSIG: yes
7879
CTIMETEST: no
80+
CHECK_SIDE_EFFECT_FREE: auto
7981
- env: { ECMULTGENPRECISION: 2 }
8082
- env: { ECMULTGENPRECISION: 8 }
8183
- env:

ci/cirrus.sh

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ valgrind --version || true
1919
--enable-module-ecdh="$ECDH" --enable-module-recovery="$RECOVERY" \
2020
--enable-module-schnorrsig="$SCHNORRSIG" \
2121
--with-valgrind="$WITH_VALGRIND" \
22+
--enable-side-effect-free-check="$CHECK_SIDE_EFFECT_FREE" \
2223
--host="$HOST" $EXTRAFLAGS
2324

2425
# We have set "-j<n>" in MAKEFLAGS.

0 commit comments

Comments
 (0)