Skip to content

Commit f997dad

Browse files
committed
Add ellsq testing to CI
1 parent ce03649 commit f997dad

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.cirrus.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ env:
1818
ECDH: no
1919
RECOVERY: no
2020
SCHNORRSIG: no
21+
ELLSQ: no
2122
### test options
2223
SECP256K1_TEST_ITERS:
2324
BENCH: yes
@@ -65,12 +66,12 @@ task:
6566
<< : *LINUX_CONTAINER
6667
matrix: &ENV_MATRIX
6768
- env: {WIDEMUL: int64, RECOVERY: yes}
68-
- env: {WIDEMUL: int64, ECDH: yes, EXPERIMENTAL: yes, SCHNORRSIG: yes}
69+
- env: {WIDEMUL: int64, ECDH: yes, EXPERIMENTAL: yes, SCHNORRSIG: yes, ELLSQ: yes}
6970
- env: {WIDEMUL: int128}
70-
- env: {WIDEMUL: int128, RECOVERY: yes, EXPERIMENTAL: yes, SCHNORRSIG: yes}
71+
- env: {WIDEMUL: int128, RECOVERY: yes, EXPERIMENTAL: yes, SCHNORRSIG: yes, ELLSQ: yes}
7172
- env: {WIDEMUL: int128, ECDH: yes, EXPERIMENTAL: yes, SCHNORRSIG: yes}
7273
- env: {WIDEMUL: int128, ASM: x86_64}
73-
- env: { RECOVERY: yes, EXPERIMENTAL: yes, SCHNORRSIG: yes}
74+
- env: { RECOVERY: yes, EXPERIMENTAL: yes, SCHNORRSIG: yes, ELLSQ: yes}
7475
- env: {BUILD: distcheck, WITH_VALGRIND: no, CTIMETEST: no, BENCH: no}
7576
- env: {CPPFLAGS: -DDETERMINISTIC}
7677
- env: {CFLAGS: -O0, CTIMETEST: no}
@@ -92,6 +93,7 @@ task:
9293
env:
9394
HOST: i686-linux-gnu
9495
ECDH: yes
96+
ELLSQ: yes
9597
RECOVERY: yes
9698
EXPERIMENTAL: yes
9799
SCHNORRSIG: yes
@@ -174,6 +176,7 @@ task:
174176
HOST: s390x-linux-gnu
175177
WITH_VALGRIND: no
176178
ECDH: yes
179+
ELLSQ: yes
177180
RECOVERY: yes
178181
EXPERIMENTAL: yes
179182
SCHNORRSIG: yes
@@ -194,6 +197,7 @@ task:
194197
HOST: arm-linux-gnueabihf
195198
WITH_VALGRIND: no
196199
ECDH: yes
200+
ELLSQ: tes
197201
RECOVERY: yes
198202
EXPERIMENTAL: yes
199203
SCHNORRSIG: yes
@@ -215,6 +219,7 @@ task:
215219
HOST: aarch64-linux-gnu
216220
WITH_VALGRIND: no
217221
ECDH: yes
222+
ELLSQ: yes
218223
RECOVERY: yes
219224
EXPERIMENTAL: yes
220225
SCHNORRSIG: yes
@@ -233,6 +238,7 @@ task:
233238
HOST: powerpc64le-linux-gnu
234239
WITH_VALGRIND: no
235240
ECDH: yes
241+
ELLSQ: yes
236242
RECOVERY: yes
237243
EXPERIMENTAL: yes
238244
SCHNORRSIG: yes
@@ -251,6 +257,7 @@ task:
251257
HOST: x86_64-w64-mingw32
252258
WITH_VALGRIND: no
253259
ECDH: yes
260+
ELLSQ: yes
254261
RECOVERY: yes
255262
EXPERIMENTAL: yes
256263
SCHNORRSIG: yes
@@ -265,6 +272,7 @@ task:
265272
<< : *LINUX_CONTAINER
266273
env:
267274
ECDH: yes
275+
ELLSQ: yes
268276
RECOVERY: yes
269277
EXPERIMENTAL: yes
270278
SCHNORRSIG: yes
@@ -316,6 +324,7 @@ task:
316324
WERROR_CFLAGS:
317325
EXPERIMENTAL: yes
318326
ECDH: yes
327+
ELLSQ: yes
319328
RECOVERY: yes
320329
SCHNORRSIG: yes
321330
<< : *MERGE_BASE

ci/cirrus.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ valgrind --version || true
1818
--with-ecmult-window="$ECMULTWINDOW" \
1919
--with-ecmult-gen-precision="$ECMULTGENPRECISION" \
2020
--enable-module-ecdh="$ECDH" --enable-module-recovery="$RECOVERY" \
21+
--enable-module-ellsq="$ELLSQ" \
2122
--enable-module-schnorrsig="$SCHNORRSIG" \
2223
--with-valgrind="$WITH_VALGRIND" \
2324
--host="$HOST" $EXTRAFLAGS

0 commit comments

Comments
 (0)