mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-12 11:19:08 -05:00
![fanquake](/assets/img/avatar_default.png)
642c885b61 Merge bitcoin-core/secp256k1#1575: release: prepare for 0.5.1 cdf08c1a2b Merge bitcoin-core/secp256k1#1576: doc: mention `needs-changelog` github label in release process 40d87b8e45 release: prepare for 0.5.1 5770226176 changelog: clarify CMake option 759bd4bbc8 doc: mention `needs-changelog` github label in release process fded437c4c Merge bitcoin-core/secp256k1#1574: Fix compilation when extrakeys module isn't enabled 763d938cf0 ci: only enable extrakeys module when schnorrsig is enabled af551ab9db tests: do not use functions from extrakeys module 0055b86780 Merge bitcoin-core/secp256k1#1551: Add ellswift usage example ea2d5f0f17 Merge bitcoin-core/secp256k1#1563: doc: Add convention for defaults ca06e58b2c Merge bitcoin-core/secp256k1#1564: build, ci: Adjust the default size of the precomputed table for signing e2af491263 ci: Switch to the new default value of the precomputed table for signing d94a9273f8 build: Adjust the default size of the precomputed table for signing fcc5d7381b Merge bitcoin-core/secp256k1#1565: cmake: Bump CMake minimum required version up to 3.16 9420eece24 cmake: Bump CMake minimum required version up to 3.16 16685649d2 doc: Add convention for defaults a5269373fa Merge bitcoin-core/secp256k1#1555: Fixed O3 replacement b8fe33332b cmake: Fixed O3 replacement 31f84595c4 Add ellswift usage example fe4fbaa7f3 examples: fix case typos in secret clearing paragraphs (s/, Or/, or/) git-subtree-dir: src/secp256k1 git-subtree-split: 642c885b6102725e25623738529895a95addc4f4
98 lines
2.5 KiB
YAML
98 lines
2.5 KiB
YAML
env:
|
|
### cirrus config
|
|
CIRRUS_CLONE_DEPTH: 1
|
|
### compiler options
|
|
HOST:
|
|
WRAPPER_CMD:
|
|
# Specific warnings can be disabled with -Wno-error=foo.
|
|
# -pedantic-errors is not equivalent to -Werror=pedantic and thus not implied by -Werror according to the GCC manual.
|
|
WERROR_CFLAGS: -Werror -pedantic-errors
|
|
MAKEFLAGS: -j4
|
|
BUILD: check
|
|
### secp256k1 config
|
|
ECMULTWINDOW: 15
|
|
ECMULTGENKB: 22
|
|
ASM: no
|
|
WIDEMUL: auto
|
|
WITH_VALGRIND: yes
|
|
EXTRAFLAGS:
|
|
### secp256k1 modules
|
|
EXPERIMENTAL: no
|
|
ECDH: no
|
|
RECOVERY: no
|
|
EXTRAKEYS: no
|
|
SCHNORRSIG: no
|
|
ELLSWIFT: no
|
|
### test options
|
|
SECP256K1_TEST_ITERS:
|
|
BENCH: yes
|
|
SECP256K1_BENCH_ITERS: 2
|
|
CTIMETESTS: yes
|
|
# Compile and run the tests
|
|
EXAMPLES: yes
|
|
|
|
cat_logs_snippet: &CAT_LOGS
|
|
always:
|
|
cat_tests_log_script:
|
|
- cat tests.log || true
|
|
cat_noverify_tests_log_script:
|
|
- cat noverify_tests.log || true
|
|
cat_exhaustive_tests_log_script:
|
|
- cat exhaustive_tests.log || true
|
|
cat_ctime_tests_log_script:
|
|
- cat ctime_tests.log || true
|
|
cat_bench_log_script:
|
|
- cat bench.log || true
|
|
cat_config_log_script:
|
|
- cat config.log || true
|
|
cat_test_env_script:
|
|
- cat test_env.log || true
|
|
cat_ci_env_script:
|
|
- env
|
|
|
|
linux_arm64_container_snippet: &LINUX_ARM64_CONTAINER
|
|
env_script:
|
|
- env | tee /tmp/env
|
|
build_script:
|
|
- DOCKER_BUILDKIT=1 docker build --file "ci/linux-debian.Dockerfile" --tag="ci_secp256k1_arm"
|
|
- docker image prune --force # Cleanup stale layers
|
|
test_script:
|
|
- docker run --rm --mount "type=bind,src=./,dst=/ci_secp256k1" --env-file /tmp/env --replace --name "ci_secp256k1_arm" "ci_secp256k1_arm" bash -c "cd /ci_secp256k1/ && ./ci/ci.sh"
|
|
|
|
task:
|
|
name: "ARM64: Linux (Debian stable)"
|
|
persistent_worker:
|
|
labels:
|
|
type: arm64
|
|
env:
|
|
ECDH: yes
|
|
RECOVERY: yes
|
|
EXTRAKEYS: yes
|
|
SCHNORRSIG: yes
|
|
ELLSWIFT: yes
|
|
matrix:
|
|
# Currently only gcc-snapshot, the other compilers are tested on GHA with QEMU
|
|
- env: { CC: 'gcc-snapshot' }
|
|
<< : *LINUX_ARM64_CONTAINER
|
|
<< : *CAT_LOGS
|
|
|
|
task:
|
|
name: "ARM64: Linux (Debian stable), Valgrind"
|
|
persistent_worker:
|
|
labels:
|
|
type: arm64
|
|
env:
|
|
ECDH: yes
|
|
RECOVERY: yes
|
|
EXTRAKEYS: yes
|
|
SCHNORRSIG: yes
|
|
ELLSWIFT: yes
|
|
WRAPPER_CMD: 'valgrind --error-exitcode=42'
|
|
SECP256K1_TEST_ITERS: 2
|
|
matrix:
|
|
- env: { CC: 'gcc' }
|
|
- env: { CC: 'clang' }
|
|
- env: { CC: 'gcc-snapshot' }
|
|
- env: { CC: 'clang-snapshot' }
|
|
<< : *LINUX_ARM64_CONTAINER
|
|
<< : *CAT_LOGS
|