27
27
BENCH : yes
28
28
SECP256K1_BENCH_ITERS : 2
29
29
CTIMETESTS : yes
30
+ SYMBOL_CHECK : yes
30
31
# Compile and run the tests
31
32
EXAMPLES : yes
32
33
@@ -127,6 +128,7 @@ task:
127
128
WITH_VALGRIND : no
128
129
CTIMETESTS : no
129
130
CC : clang
131
+ SYMBOL_CHECK : no
130
132
matrix :
131
133
- env : {WIDEMUL: int64, RECOVERY: yes, ECDH: yes, SCHNORRSIG: yes, ELLSWIFT: yes}
132
134
- env : {WIDEMUL: int64, RECOVERY: yes, ECDH: yes, SCHNORRSIG: yes, ELLSWIFT: yes, CC: gcc}
@@ -140,6 +142,9 @@ task:
140
142
- brew install automake libtool gcc
141
143
test_script :
142
144
- ./ci/cirrus.sh
145
+ symbol_check_script :
146
+ - python3 -m pip install lief
147
+ - python3 ./tools/symbol-check.py .libs/libsecp256k1.dylib
143
148
<< : *CAT_LOGS
144
149
<< : *CREDITS
145
150
@@ -248,6 +253,7 @@ task:
248
253
SCHNORRSIG : yes
249
254
ELLSWIFT : yes
250
255
CTIMETESTS : no
256
+ SYMBOL_CHECK : no
251
257
# Use a MinGW-w64 host to tell ./configure we're building for Windows.
252
258
# This will detect some MinGW-w64 tools but then make will need only
253
259
# the MSVC tools CC, AR and NM as specified below.
@@ -304,6 +310,7 @@ task:
304
310
ASAN_OPTIONS : " strict_string_checks=1:detect_stack_use_after_return=1:detect_leaks=1"
305
311
LSAN_OPTIONS : " use_unaligned=1"
306
312
SECP256K1_TEST_ITERS : 32
313
+ SYMBOL_CHECK : no
307
314
# Try to cover many configurations with just a tiny matrix.
308
315
matrix :
309
316
- env :
@@ -405,6 +412,11 @@ task:
405
412
build_script :
406
413
- ' %x64_NATIVE_TOOLS%'
407
414
- cmake --build build --config RelWithDebInfo -- -property:UseMultiToolTask=true;CL_MPcount=5
415
+ symbol_check_script :
416
+ - choco install --yes --no-progress python3
417
+ - refreshenv
418
+ - python -m pip install lief
419
+ - python .\tools\symbol-check.py build\src\RelWithDebInfo\libsecp256k1-2.dll
408
420
check_script :
409
421
- ' %x64_NATIVE_TOOLS%'
410
422
- ctest -C RelWithDebInfo --test-dir build -j 5
0 commit comments