Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/.cirrus.yml
env: | env: | ||||
WIDEMUL: auto | WIDEMUL: auto | ||||
BIGNUM: gmp | |||||
STATICPRECOMPUTATION: yes | STATICPRECOMPUTATION: yes | ||||
ECMULTGENPRECISION: auto | ECMULTGENPRECISION: auto | ||||
ASM: no | ASM: no | ||||
AUTOTOOLS_TARGET: check | AUTOTOOLS_TARGET: check | ||||
CMAKE_TARGET: check-secp256k1 | CMAKE_TARGET: check-secp256k1 | ||||
AUTOTOOLS_EXTRA_FLAGS: | AUTOTOOLS_EXTRA_FLAGS: | ||||
CMAKE_EXTRA_FLAGS: | CMAKE_EXTRA_FLAGS: | ||||
WITH_VALGRIND: yes | WITH_VALGRIND: yes | ||||
Show All 32 Lines | container: | ||||
memory: 1G | memory: 1G | ||||
matrix: &ENV_MATRIX | matrix: &ENV_MATRIX | ||||
- env: {WIDEMUL: int64, RECOVERY: yes} | - env: {WIDEMUL: int64, RECOVERY: yes} | ||||
- env: {WIDEMUL: int64, ECDH: yes, EXPERIMENTAL: yes, MULTISET: yes, SCHNORRSIG: yes} | - env: {WIDEMUL: int64, ECDH: yes, EXPERIMENTAL: yes, MULTISET: yes, SCHNORRSIG: yes} | ||||
- env: {WIDEMUL: int128} | - env: {WIDEMUL: int128} | ||||
- env: {WIDEMUL: int128, RECOVERY: yes, EXPERIMENTAL: yes, SCHNORRSIG: yes} | - env: {WIDEMUL: int128, RECOVERY: yes, EXPERIMENTAL: yes, SCHNORRSIG: yes} | ||||
- env: {WIDEMUL: int128, ECDH: yes, EXPERIMENTAL: yes, MULTISET: yes, SCHNORRSIG: yes} | - env: {WIDEMUL: int128, ECDH: yes, EXPERIMENTAL: yes, MULTISET: yes, SCHNORRSIG: yes} | ||||
- env: {WIDEMUL: int128, ASM: x86_64} | - env: {WIDEMUL: int128, ASM: x86_64} | ||||
- env: {BIGNUM: no} | - env: { RECOVERY: yes, EXPERIMENTAL: yes, MULTISET: yes, SCHNORRSIG: yes} | ||||
- env: {BIGNUM: no, RECOVERY: yes, EXPERIMENTAL: yes, MULTISET: yes, SCHNORRSIG: yes} | - env: { STATICPRECOMPUTATION: no} | ||||
- env: {BIGNUM: no, STATICPRECOMPUTATION: no} | |||||
- env: {AUTOTOOLS_TARGET: distcheck, CMAKE_TARGET: install, WITH_VALGRIND: no, CTIMETEST: no, BENCH: no} | - env: {AUTOTOOLS_TARGET: distcheck, CMAKE_TARGET: install, WITH_VALGRIND: no, CTIMETEST: no, BENCH: no} | ||||
- env: {AUTOTOOLS_EXTRA_FLAGS: CPPFLAGS=-DDETERMINISTIC, CMAKE_EXTRA_FLAGS: -DCMAKE_C_FLAGS=-DDETERMINISTIC} | - env: {AUTOTOOLS_EXTRA_FLAGS: CPPFLAGS=-DDETERMINISTIC, CMAKE_EXTRA_FLAGS: -DCMAKE_C_FLAGS=-DDETERMINISTIC} | ||||
- env: {AUTOTOOLS_EXTRA_FLAGS: CFLAGS=-O0, CMAKE_EXTRA_FLAGS: -DCMAKE_BUILD_TYPE=Debug, CTIMETEST: no} | - env: {AUTOTOOLS_EXTRA_FLAGS: CFLAGS=-O0, CMAKE_EXTRA_FLAGS: -DCMAKE_BUILD_TYPE=Debug, CTIMETEST: no} | ||||
- env: {AUTOTOOLS_TARGET: check-java, CMAKE_TARGET: check-secp256k1-java, JNI: yes, ECDH: yes, EXPERIMENTAL: yes, WITH_VALGRIND: no, CTIMETEST: no, BENCH: no} | - env: {AUTOTOOLS_TARGET: check-java, CMAKE_TARGET: check-secp256k1-java, JNI: yes, ECDH: yes, EXPERIMENTAL: yes, WITH_VALGRIND: no, CTIMETEST: no, BENCH: no} | ||||
# The Cirrus macOS VM has no java installed | # The Cirrus macOS VM has no java installed | ||||
only_if: $CIRRUS_OS == 'linux' | only_if: $CIRRUS_OS == 'linux' | ||||
- env: {SCHNORR: no} | - env: {SCHNORR: no} | ||||
- env: | - env: | ||||
CFLAGS: "-fsanitize=undefined -fno-omit-frame-pointer" | CFLAGS: "-fsanitize=undefined -fno-omit-frame-pointer" | ||||
LDFLAGS: "-fsanitize=undefined -fno-omit-frame-pointer" | LDFLAGS: "-fsanitize=undefined -fno-omit-frame-pointer" | ||||
UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1" | UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1" | ||||
BIGNUM: no | |||||
ASM: x86_64 | ASM: x86_64 | ||||
ECDH: yes | ECDH: yes | ||||
RECOVERY: yes | RECOVERY: yes | ||||
EXPERIMENTAL: yes | EXPERIMENTAL: yes | ||||
MULTISET: yes | MULTISET: yes | ||||
SCHNORRSIG: yes | SCHNORRSIG: yes | ||||
CTIMETEST: no | CTIMETEST: no | ||||
- env: { ECMULTGENPRECISION: 2 } | - env: { ECMULTGENPRECISION: 2 } | ||||
- env: { ECMULTGENPRECISION: 8 } | - env: { ECMULTGENPRECISION: 8 } | ||||
- env: | - env: | ||||
RUN_VALGRIND: yes | RUN_VALGRIND: yes | ||||
BIGNUM: no | |||||
ASM: x86_64 | ASM: x86_64 | ||||
ECDH: yes | ECDH: yes | ||||
RECOVERY: yes | RECOVERY: yes | ||||
EXPERIMENTAL: yes | EXPERIMENTAL: yes | ||||
MULTISET: yes | MULTISET: yes | ||||
SCHNORRSIG: yes | SCHNORRSIG: yes | ||||
OPENSSL_TESTS: no | OPENSSL_TESTS: no | ||||
AUTOTOOLS_TARGET: | AUTOTOOLS_TARGET: | ||||
Show All 21 Lines | env: | ||||
EXPERIMENTAL: yes | EXPERIMENTAL: yes | ||||
SCHNORRSIG: yes | SCHNORRSIG: yes | ||||
OPENSSL_TESTS: no | OPENSSL_TESTS: no | ||||
matrix: | matrix: | ||||
- env: | - env: | ||||
CC: i686-linux-gnu-gcc | CC: i686-linux-gnu-gcc | ||||
- env: | - env: | ||||
CC: clang --target=i686-pc-linux-gnu -isystem /usr/i686-linux-gnu/include | CC: clang --target=i686-pc-linux-gnu -isystem /usr/i686-linux-gnu/include | ||||
matrix: | |||||
- env: | |||||
BIGNUM: gmp | |||||
- env: | |||||
BIGNUM: no | |||||
test_script: | test_script: | ||||
- ./ci/build_autotools.sh | - ./ci/build_autotools.sh | ||||
- ./ci/build_cmake.sh | - ./ci/build_cmake.sh | ||||
<< : *CAT_LOGS | << : *CAT_LOGS | ||||
task: | task: | ||||
timeout_in: 120m | timeout_in: 120m | ||||
name: "x86_64: macOS Catalina" | name: "x86_64: macOS Catalina" | ||||
▲ Show 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | brew_valgrind_cache: | ||||
populate_script: | populate_script: | ||||
# If there's no hit in the cache, build and install valgrind. | # If there's no hit in the cache, build and install valgrind. | ||||
- brew install --HEAD LouisBrunner/valgrind/valgrind | - brew install --HEAD LouisBrunner/valgrind/valgrind | ||||
brew_valgrind_post_script: | brew_valgrind_post_script: | ||||
# If we have restored valgrind from the cache, tell brew to create symlink to the PATH. | # If we have restored valgrind from the cache, tell brew to create symlink to the PATH. | ||||
# If we haven't restored from cached (and just run brew install), this is a no-op. | # If we haven't restored from cached (and just run brew install), this is a no-op. | ||||
- brew link valgrind | - brew link valgrind | ||||
brew_script: | brew_script: | ||||
- brew install automake cmake gcc@9 gmp libtool ninja | - brew install automake cmake gcc@9 libtool ninja | ||||
test_script: | test_script: | ||||
- ./ci/build_autotools.sh | - ./ci/build_autotools.sh | ||||
- ./ci/build_cmake.sh | - ./ci/build_cmake.sh | ||||
<< : *CAT_LOGS | << : *CAT_LOGS | ||||
task: | task: | ||||
name: "s390x (big-endian): Linux (Debian stable, QEMU)" | name: "s390x (big-endian): Linux (Debian stable, QEMU)" | ||||
container: | container: | ||||
dockerfile: ci/linux-debian.Dockerfile | dockerfile: ci/linux-debian.Dockerfile | ||||
cpu: 1 | cpu: 1 | ||||
memory: 1G | memory: 1G | ||||
env: | env: | ||||
QEMU_CMD: qemu-s390x | QEMU_CMD: qemu-s390x | ||||
HOST: s390x-linux-gnu | HOST: s390x-linux-gnu | ||||
WITH_VALGRIND: no | WITH_VALGRIND: no | ||||
BIGNUM: no | |||||
ECDH: yes | ECDH: yes | ||||
RECOVERY: yes | RECOVERY: yes | ||||
EXPERIMENTAL: yes | EXPERIMENTAL: yes | ||||
MULTISET: yes | MULTISET: yes | ||||
SCHNORRSIG: yes | SCHNORRSIG: yes | ||||
OPENSSL_TESTS: no | OPENSSL_TESTS: no | ||||
CTIMETEST: no | CTIMETEST: no | ||||
AUTOTOOLS_TARGET: | AUTOTOOLS_TARGET: | ||||
test_script: | test_script: | ||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=27008 | # https://sourceware.org/bugzilla/show_bug.cgi?id=27008 | ||||
- rm /etc/ld.so.cache | - rm /etc/ld.so.cache | ||||
- ./ci/build_autotools.sh | - ./ci/build_autotools.sh | ||||
<< : *CAT_LOGS | << : *CAT_LOGS |