You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
71757da Explictly pass SECP256K1_BENCH_ITERS to the benchmarks in travis.sh (Elichai Turkel)
99bd661 Replace travis_wait with a loop printing "\a" to stdout every minute (Elichai Turkel)
bc818b1 Bump travis Ubuntu from xenial(16.04) to bionic(18.04) (Elichai Turkel)
0c5ff90 Add macOS support to travis (Elichai Turkel)
b6807d9 Move travis script into a standalone sh file (Elichai Turkel)
Pull request description:
ACKs for top commit:
real-or-random:
ACK 71757da I inspected the diff
jonasnick:
ACK 71757da
Tree-SHA512: e8fab725ef5ed98c795f39d7f26b5d967a6bd730d40eb7d9793986858bf34770b0350c1b7b1d14ae608dfff9375a0750ec67c8e6d0d4b562ab917f5e645aa67b
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then HOMEBREW_NO_AUTO_UPDATE=1 brew install gmp valgrind gcc@9; fi
82
92
83
93
before_script: ./autogen.sh
84
94
95
+
# travis auto terminates jobs that go for 10 minutes without printing to stdout, but travis_wait doesn't work well with forking programs like valgrind (https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received https://github.com/bitcoin-core/secp256k1/pull/750#issuecomment-623476860)
85
96
script:
86
-
- if [ -n "$HOST" ]; then export USE_HOST="--host=$HOST"; fi
87
-
- if [ "x$HOST" = "xi686-linux-gnu" ]; then export CC="$CC -m32"; fi
- # travis_wait extends the 10 minutes without output allowed (https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received)
91
-
- # the `--error-exitcode` is required to make the test fail if valgrind found errors, otherwise it'll return 0 (http://valgrind.org/docs/manual/manual-core.html)
# the `--error-exitcode` is required to make the test fail if valgrind found errors, otherwise it'll return 0 (http://valgrind.org/docs/manual/manual-core.html)
33
+
valgrind --error-exitcode=42 ./tests 16
34
+
valgrind --error-exitcode=42 ./exhaustive_tests
35
+
fi
36
+
if [ -n"$BENCH" ]
37
+
then
38
+
if [ -n"$VALGRIND" ]
39
+
then
40
+
# Using the local `libtool` because on macOS the system's libtool has nothing to do with GNU libtool
0 commit comments