Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/.cirrus.yml
Show All 16 Lines | env: | ||||
SCHNORRSIG: no | SCHNORRSIG: no | ||||
EXPERIMENTAL: no | EXPERIMENTAL: no | ||||
JNI: no | JNI: no | ||||
OPENSSL_TESTS: auto | OPENSSL_TESTS: auto | ||||
MULTISET: no | MULTISET: no | ||||
CTIMETEST: yes | CTIMETEST: yes | ||||
BENCH: yes | BENCH: yes | ||||
ITERS: 2 | ITERS: 2 | ||||
# We only need the top commit | MAKEFLAGS: -j2 | ||||
CIRRUS_CLONE_DEPTH: 1 | |||||
cat_logs_snippet: &CAT_LOGS | cat_logs_snippet: &CAT_LOGS | ||||
on_failure: | on_failure: | ||||
debug_output_script: | cat_config_log_script: | ||||
- cat config.log || true | - cat config.log || true | ||||
cat_test_env_script: | |||||
- cat test_env.log || true | - cat test_env.log || true | ||||
cat_ci_env_script: | |||||
- env | - env | ||||
task: | task: | ||||
timeout_in: 120m | timeout_in: 120m | ||||
name: "x86_64: Linux (Alpine Linux, Nix Shell)" | name: "x86_64: Linux (Debian stable)" | ||||
container: | container: | ||||
dockerfile: ci/linux-nixos.Dockerfile | dockerfile: ci/linux-debian.Dockerfile | ||||
# Reduce number of CPUs to be able to do more builds in parallel. | # Reduce number of CPUs to be able to do more builds in parallel. | ||||
cpu: 1 | cpu: 1 | ||||
# More than enough for our scripts. | # More than enough for our scripts. | ||||
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} | ||||
Show All 37 Lines | - env: | ||||
AUTOTOOLS_TARGET: | AUTOTOOLS_TARGET: | ||||
CMAKE_TARGET: "secp256k1-tests secp256k1-exhaustive_tests" | CMAKE_TARGET: "secp256k1-tests secp256k1-exhaustive_tests" | ||||
matrix: | matrix: | ||||
- env: | - env: | ||||
CC: gcc | CC: gcc | ||||
- env: | - env: | ||||
CC: clang | CC: clang | ||||
test_script: | test_script: | ||||
- nix-shell ci/shell.nix --run ./ci/build_autotools.sh | - ./ci/build_autotools.sh | ||||
- nix-shell ci/shell.nix --run ./ci/build_cmake.sh | - ./ci/build_cmake.sh | ||||
<< : *CAT_LOGS | << : *CAT_LOGS | ||||
task: | task: | ||||
name: "i686: Linux (Alpine Linux, Nix Shell)" | name: "i686: Linux (Debian stable)" | ||||
container: | container: | ||||
dockerfile: ci/linux-nixos.Dockerfile | dockerfile: ci/linux-debian.Dockerfile | ||||
cpu: 1 | cpu: 1 | ||||
memory: 1G | memory: 1G | ||||
env: | env: | ||||
HOST: i686-linux-gnu | HOST: i686-linux-gnu | ||||
ECDH: yes | ECDH: yes | ||||
RECOVERY: yes | RECOVERY: yes | ||||
EXPERIMENTAL: yes | EXPERIMENTAL: yes | ||||
SCHNORRSIG: yes | SCHNORRSIG: yes | ||||
OPENSSL_TESTS: no | OPENSSL_TESTS: no | ||||
matrix: | matrix: | ||||
- env: | - env: | ||||
CC: gcc | CC: i686-linux-gnu-gcc | ||||
- env: | - env: | ||||
CC: clang | CC: clang --target=i686-pc-linux-gnu -isystem /usr/i686-linux-gnu/include | ||||
matrix: | matrix: | ||||
- env: | - env: | ||||
BIGNUM: gmp | BIGNUM: gmp | ||||
- env: | - env: | ||||
BIGNUM: no | BIGNUM: no | ||||
test_script: | test_script: | ||||
- nix-shell ci/shell-i686.nix --run ./ci/build_autotools.sh | - ./ci/build_autotools.sh | ||||
- nix-shell ci/shell-i686.nix --run ./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" | ||||
macos_instance: | macos_instance: | ||||
image: catalina-base | image: catalina-base | ||||
env: | env: | ||||
HOMEBREW_NO_AUTO_UPDATE: 1 | HOMEBREW_NO_AUTO_UPDATE: 1 | ||||
HOMEBREW_NO_INSTALL_CLEANUP: 1 | HOMEBREW_NO_INSTALL_CLEANUP: 1 | ||||
# Cirrus gives us a fixed number of 12 virtual CPUs. Not that we even have that many jobs at the moment... | |||||
MAKEFLAGS: -j13 | |||||
matrix: | matrix: | ||||
<< : *ENV_MATRIX | << : *ENV_MATRIX | ||||
matrix: | matrix: | ||||
- env: | - env: | ||||
CC: gcc-9 | CC: gcc-9 | ||||
- env: | - env: | ||||
CC: clang | CC: clang | ||||
# Update Command Line Tools | # Update Command Line Tools | ||||
Show All 35 Lines | task: | ||||
brew_script: | brew_script: | ||||
- brew install automake cmake gcc@9 gmp libtool ninja | - brew install automake cmake gcc@9 gmp 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 QEMU)" | name: "s390x (big-endian): Linux (Debian stable, QEMU)" | ||||
container: | container: | ||||
dockerfile: ci/linux-debian-s390-qemu.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 | BIGNUM: no | ||||
ECDH: yes | ECDH: yes | ||||
Show All 12 Lines |