Skip to content

Commit 75234ab

Browse files
committed
Enable side-effect free check in CI
1 parent a3828d7 commit 75234ab

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
@@ -16,6 +16,7 @@ env:
1616
BENCH: yes
1717
ITERS: 2
1818
MAKEFLAGS: -j2
19+
CHECK_SIDE_EFFECT_FREE: yes
1920

2021
cat_logs_snippet: &CAT_LOGS
2122
always:
@@ -62,7 +63,7 @@ task:
6263
- env: { STATICPRECOMPUTATION: no}
6364
- env: {BUILD: distcheck, WITH_VALGRIND: no, CTIMETEST: no, BENCH: no}
6465
- env: {CPPFLAGS: -DDETERMINISTIC}
65-
- env: {CFLAGS: -O0, CTIMETEST: no}
66+
- env: {CFLAGS: -O0, CTIMETEST: no, CHECK_SIDE_EFFECT_FREE: no}
6667
- env:
6768
CFLAGS: "-fsanitize=undefined -fno-omit-frame-pointer"
6869
LDFLAGS: "-fsanitize=undefined -fno-omit-frame-pointer"
@@ -73,6 +74,7 @@ task:
7374
EXPERIMENTAL: yes
7475
SCHNORRSIG: yes
7576
CTIMETEST: no
77+
CHECK_SIDE_EFFECT_FREE: auto
7678
- env: { ECMULTGENPRECISION: 2 }
7779
- env: { ECMULTGENPRECISION: 8 }
7880
- 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)