Skip to content

Commit aadc623

Browse files
ci: Always run make distcheck
1 parent 598d883 commit aadc623

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.cirrus.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ env:
55
# -pedantic-errors is not equivalent to -Werror=pedantic and thus not implied by -Werror according to the GCC manual.
66
WERROR_CFLAGS: -Werror -pedantic-errors
77
MAKEFLAGS: -j4
8-
BUILD: check
98
### secp256k1 config
109
ECMULTWINDOW: auto
1110
ECMULTGENPRECISION: auto

ci/cirrus.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ file .libs/* || true
3434
# This tells `make check` to wrap test invocations.
3535
export LOG_COMPILER="$WRAPPER_CMD"
3636

37-
make "$BUILD"
37+
make check
3838

3939
if [ "$BENCH" = "yes" ]
4040
then
@@ -56,6 +56,10 @@ then
5656
./libtool --mode=execute valgrind --error-exitcode=42 ./valgrind_ctime_test > valgrind_ctime_test.log 2>&1
5757
fi
5858

59+
# `distcheck` includes `check` but we don't want to run the `check` part again,
60+
# so we use a hack to make all tests immediately 77 (=SKIP).
61+
make distcheck LOG_COMPILER="sh -c 'exit 77'"
62+
5963
# Rebuild precomputed files (if not cross-compiling).
6064
if [ -z "$HOST" ]
6165
then

0 commit comments

Comments
 (0)