Add ellswift testing to CI

This commit is contained in:
Pieter Wuille 2022-11-04 16:21:25 -04:00
parent 1bcea8c57f
commit 4f091847c2
2 changed files with 13 additions and 4 deletions

View File

@ -21,6 +21,7 @@ env:
ECDH: no ECDH: no
RECOVERY: no RECOVERY: no
SCHNORRSIG: no SCHNORRSIG: no
ELLSWIFT: no
### test options ### test options
SECP256K1_TEST_ITERS: SECP256K1_TEST_ITERS:
BENCH: yes BENCH: yes
@ -74,12 +75,12 @@ task:
<< : *LINUX_CONTAINER << : *LINUX_CONTAINER
matrix: &ENV_MATRIX matrix: &ENV_MATRIX
- env: {WIDEMUL: int64, RECOVERY: yes} - env: {WIDEMUL: int64, RECOVERY: yes}
- env: {WIDEMUL: int64, ECDH: yes, SCHNORRSIG: yes} - env: {WIDEMUL: int64, ECDH: yes, SCHNORRSIG: yes, ELLSWIFT: yes}
- env: {WIDEMUL: int128} - env: {WIDEMUL: int128}
- env: {WIDEMUL: int128_struct} - env: {WIDEMUL: int128_struct, ELLSWIFT: yes}
- env: {WIDEMUL: int128, RECOVERY: yes, SCHNORRSIG: yes} - env: {WIDEMUL: int128, RECOVERY: yes, SCHNORRSIG: yes, ELLSWIFT: yes}
- env: {WIDEMUL: int128, ECDH: yes, SCHNORRSIG: yes} - env: {WIDEMUL: int128, ECDH: yes, SCHNORRSIG: yes}
- env: {WIDEMUL: int128, ASM: x86_64} - env: {WIDEMUL: int128, ASM: x86_64 , ELLSWIFT: yes}
- env: { RECOVERY: yes, SCHNORRSIG: yes} - env: { RECOVERY: yes, SCHNORRSIG: yes}
- env: {CTIMETESTS: no, RECOVERY: yes, ECDH: yes, SCHNORRSIG: yes, CPPFLAGS: -DVERIFY} - env: {CTIMETESTS: no, RECOVERY: yes, ECDH: yes, SCHNORRSIG: yes, CPPFLAGS: -DVERIFY}
- env: {BUILD: distcheck, WITH_VALGRIND: no, CTIMETESTS: no, BENCH: no} - env: {BUILD: distcheck, WITH_VALGRIND: no, CTIMETESTS: no, BENCH: no}
@ -154,6 +155,7 @@ task:
ECDH: yes ECDH: yes
RECOVERY: yes RECOVERY: yes
SCHNORRSIG: yes SCHNORRSIG: yes
ELLSWIFT: yes
CTIMETESTS: no CTIMETESTS: no
<< : *MERGE_BASE << : *MERGE_BASE
test_script: test_script:
@ -173,6 +175,7 @@ task:
ECDH: yes ECDH: yes
RECOVERY: yes RECOVERY: yes
SCHNORRSIG: yes SCHNORRSIG: yes
ELLSWIFT: yes
CTIMETESTS: no CTIMETESTS: no
matrix: matrix:
- env: {} - env: {}
@ -193,6 +196,7 @@ task:
ECDH: yes ECDH: yes
RECOVERY: yes RECOVERY: yes
SCHNORRSIG: yes SCHNORRSIG: yes
ELLSWIFT: yes
CTIMETESTS: no CTIMETESTS: no
<< : *MERGE_BASE << : *MERGE_BASE
test_script: test_script:
@ -210,6 +214,7 @@ task:
ECDH: yes ECDH: yes
RECOVERY: yes RECOVERY: yes
SCHNORRSIG: yes SCHNORRSIG: yes
ELLSWIFT: yes
CTIMETESTS: no CTIMETESTS: no
<< : *MERGE_BASE << : *MERGE_BASE
test_script: test_script:
@ -247,6 +252,7 @@ task:
RECOVERY: yes RECOVERY: yes
EXPERIMENTAL: yes EXPERIMENTAL: yes
SCHNORRSIG: yes SCHNORRSIG: yes
ELLSWIFT: yes
CTIMETESTS: no CTIMETESTS: no
# Use a MinGW-w64 host to tell ./configure we're building for Windows. # Use a MinGW-w64 host to tell ./configure we're building for Windows.
# This will detect some MinGW-w64 tools but then make will need only # This will detect some MinGW-w64 tools but then make will need only
@ -286,6 +292,7 @@ task:
ECDH: yes ECDH: yes
RECOVERY: yes RECOVERY: yes
SCHNORRSIG: yes SCHNORRSIG: yes
ELLSWIFT: yes
CTIMETESTS: no CTIMETESTS: no
matrix: matrix:
- name: "Valgrind (memcheck)" - name: "Valgrind (memcheck)"
@ -361,6 +368,7 @@ task:
ECDH: yes ECDH: yes
RECOVERY: yes RECOVERY: yes
SCHNORRSIG: yes SCHNORRSIG: yes
ELLSWIFT: yes
<< : *MERGE_BASE << : *MERGE_BASE
test_script: test_script:
- ./ci/cirrus.sh - ./ci/cirrus.sh

View File

@ -61,6 +61,7 @@ fi
--with-ecmult-window="$ECMULTWINDOW" \ --with-ecmult-window="$ECMULTWINDOW" \
--with-ecmult-gen-precision="$ECMULTGENPRECISION" \ --with-ecmult-gen-precision="$ECMULTGENPRECISION" \
--enable-module-ecdh="$ECDH" --enable-module-recovery="$RECOVERY" \ --enable-module-ecdh="$ECDH" --enable-module-recovery="$RECOVERY" \
--enable-module-ellswift="$ELLSWIFT" \
--enable-module-schnorrsig="$SCHNORRSIG" \ --enable-module-schnorrsig="$SCHNORRSIG" \
--enable-examples="$EXAMPLES" \ --enable-examples="$EXAMPLES" \
--enable-ctime-tests="$CTIMETESTS" \ --enable-ctime-tests="$CTIMETESTS" \