Skip to content

Commit

Permalink
ci: Always run make distcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
real-or-random committed Mar 17, 2022
1 parent 598d883 commit aadc623
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ env:
# -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: auto
ECMULTGENPRECISION: auto
Expand Down
6 changes: 5 additions & 1 deletion ci/cirrus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ file .libs/* || true
# This tells `make check` to wrap test invocations.
export LOG_COMPILER="$WRAPPER_CMD"

make "$BUILD"
make check

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

# `distcheck` includes `check` but we don't want to run the `check` part again,
# so we use a hack to make all tests immediately 77 (=SKIP).
make distcheck LOG_COMPILER="sh -c 'exit 77'"

# Rebuild precomputed files (if not cross-compiling).
if [ -z "$HOST" ]
then
Expand Down

0 comments on commit aadc623

Please sign in to comment.