Skip to content

Commit b6fc8c5

Browse files
committed
Squashed 'src/secp256k1/' changes from b9313c6e1a..410abb205a
410abb205a batch: Generate speedup graphs e5df505bad batch, extrakeys: Add benchmarks 642901f57a batch: Add tests for batch_add_* APIs 6378b6bcdc batch,ecmult: Add tests for core batch APIs and strauss_batch refactor e5bbca63bf batch: Add example f818fc0e4b batch: Add batch_add_* APIs b47d8f3877 batch, ecmult: Add batch_verify and refactor strauss_batch 535a94b6d2 batch: Add create and destroy APIs 800233a2d4 batch: Initialize an experimental batch module REVERT: b9313c6e1a Merge bitcoin-core/secp256k1#1708: release cleanup: bump version after 0.7.0 REVERT: a660a4976e Merge bitcoin-core/secp256k1#1707: release: Prepare for 0.7.0 REVERT: 7ab8b0cc01 release cleanup: bump version after 0.7.0 REVERT: a3e742d947 release: Prepare for 0.7.0 REVERT: f67b0ac1a0 ci: Don't hardcode ABI version REVERT: 020ee60495 Merge bitcoin-core/secp256k1#1706: musig/tests: initialize keypair REVERT: cde4130898 musig/tests: initialize keypair REVERT: 6037833c9e Merge bitcoin-core/secp256k1#1702: changelog: update REVERT: 40b4a06520 changelog: update REVERT: 5e74086dc8 Merge bitcoin-core/secp256k1#1705: musig/test: Remove dead code REVERT: 7c3380423c Merge bitcoin-core/secp256k1#1696: build: Refactor visibility logic and add override REVERT: 8d967a602b musig/test: Remove dead code REVERT: 983711cd6d musig/tests: Refactor vectors_signverify REVERT: 73a695958a Merge bitcoin-core/secp256k1#1704: cmake: Make `secp256k1_objs` inherit interface defines from `secp256k1` REVERT: bf082221ff cmake: Make `secp256k1_objs` inherit interface defines from `secp256k1` REVERT: c82d84bb86 build: add CMake option for disabling symbol visibility attributes REVERT: ce7923874f build: Add SECP256K1_NO_API_VISIBILITY_ATTRIBUTES REVERT: e5297f6d79 build: Refactor visibility logic REVERT: cbbbf3bd6e Merge bitcoin-core/secp256k1#1699: ci: enable musig module for native macOS arm64 job REVERT: 943479a7a3 Merge bitcoin-core/secp256k1#1694: Revert "cmake: configure libsecp256k1.pc during install" REVERT: 3352f9d667 ci: enable musig module for native macOS arm64 job REVERT: ad60ef7ea7 Merge bitcoin-core/secp256k1#1689: ci: Convert `arm64` Cirrus tasks to GHA jobs REVERT: c498779096 Merge bitcoin-core/secp256k1#1687: cmake: support the use of launchers in ctest -S scripts REVERT: 44b205e9ee Revert "cmake: configure libsecp256k1.pc during install" REVERT: 0dfe387dbe cmake: support the use of launchers in ctest -S scripts REVERT: 89096c234d Merge bitcoin-core/secp256k1#1692: cmake: configure libsecp256k1.pc during install REVERT: 7106dce6fd cmake: configure libsecp256k1.pc during install REVERT: 004f57fcd8 ci: Move Valgrind build for `arm64` from Cirrus to GHA REVERT: 5fafdfc30f ci: Move `gcc-snapshot` build for `arm64` from Cirrus to GHA REVERT: e814b79a8b ci: Switch `arm64_debian` from QEMU to native `arm64` Docker image REVERT: bcf77346b9 ci: Add `arm64` architecture to `docker_cache` job REVERT: b77aae9226 ci: Rename Docker image tag to reflect architecture git-subtree-dir: src/secp256k1 git-subtree-split: 410abb205a93b5c84a00a4e9e478c852b6dc6d69
1 parent 5600e6f commit b6fc8c5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2485
-236
lines changed

.cirrus.yml

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
env:
2+
### cirrus config
3+
CIRRUS_CLONE_DEPTH: 1
4+
### compiler options
5+
HOST:
6+
WRAPPER_CMD:
7+
# Specific warnings can be disabled with -Wno-error=foo.
8+
# -pedantic-errors is not equivalent to -Werror=pedantic and thus not implied by -Werror according to the GCC manual.
9+
WERROR_CFLAGS: -Werror -pedantic-errors
10+
MAKEFLAGS: -j4
11+
BUILD: check
12+
### secp256k1 config
13+
ECMULTWINDOW: 15
14+
ECMULTGENKB: 22
15+
ASM: no
16+
WIDEMUL: auto
17+
WITH_VALGRIND: yes
18+
EXTRAFLAGS:
19+
### secp256k1 modules
20+
EXPERIMENTAL: no
21+
ECDH: no
22+
RECOVERY: no
23+
EXTRAKEYS: no
24+
SCHNORRSIG: no
25+
MUSIG: no
26+
ELLSWIFT: no
27+
### test options
28+
SECP256K1_TEST_ITERS: 64
29+
BENCH: yes
30+
SECP256K1_BENCH_ITERS: 2
31+
CTIMETESTS: yes
32+
SYMBOL_CHECK: yes
33+
VIRTUAL_ENV: /root/venv
34+
# Compile and run the tests
35+
EXAMPLES: yes
36+
37+
cat_logs_snippet: &CAT_LOGS
38+
always:
39+
cat_tests_log_script:
40+
- cat tests.log || true
41+
cat_noverify_tests_log_script:
42+
- cat noverify_tests.log || true
43+
cat_exhaustive_tests_log_script:
44+
- cat exhaustive_tests.log || true
45+
cat_ctime_tests_log_script:
46+
- cat ctime_tests.log || true
47+
cat_bench_log_script:
48+
- cat bench.log || true
49+
cat_config_log_script:
50+
- cat config.log || true
51+
cat_test_env_script:
52+
- cat test_env.log || true
53+
cat_ci_env_script:
54+
- env
55+
56+
linux_arm64_container_snippet: &LINUX_ARM64_CONTAINER
57+
env_script:
58+
- export PATH="$VIRTUAL_ENV/bin:$PATH"
59+
- env | tee /tmp/env
60+
build_script:
61+
- DOCKER_BUILDKIT=1 docker build --file "ci/linux-debian.Dockerfile" --tag="ci_secp256k1_arm"
62+
- docker image prune --force # Cleanup stale layers
63+
test_script:
64+
- 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"
65+
66+
task:
67+
name: "ARM64: Linux (Debian stable)"
68+
persistent_worker:
69+
labels:
70+
type: arm64
71+
env:
72+
ECDH: yes
73+
RECOVERY: yes
74+
EXTRAKEYS: yes
75+
SCHNORRSIG: yes
76+
MUSIG: yes
77+
ELLSWIFT: yes
78+
matrix:
79+
# Currently only gcc-snapshot, the other compilers are tested on GHA with QEMU
80+
- env: { CC: 'gcc-snapshot' }
81+
<< : *LINUX_ARM64_CONTAINER
82+
<< : *CAT_LOGS
83+
84+
task:
85+
name: "ARM64: Linux (Debian stable), Valgrind"
86+
persistent_worker:
87+
labels:
88+
type: arm64
89+
env:
90+
ECDH: yes
91+
RECOVERY: yes
92+
EXTRAKEYS: yes
93+
SCHNORRSIG: yes
94+
MUSIG: yes
95+
ELLSWIFT: yes
96+
WRAPPER_CMD: 'valgrind --error-exitcode=42'
97+
SECP256K1_TEST_ITERS: 2
98+
matrix:
99+
- env: { CC: 'gcc' }
100+
- env: { CC: 'clang' }
101+
- env: { CC: 'gcc-snapshot' }
102+
- env: { CC: 'clang-snapshot' }
103+
<< : *LINUX_ARM64_CONTAINER
104+
<< : *CAT_LOGS

0 commit comments

Comments
 (0)