mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
CI: fix CI scripts to fail if a command fails.
If compilation failed, we didn't stop (though except for fuzzing, we would fail when we try to run the tests). Also use make -s instead of redirecting make ooutput. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
8f6afedafe
commit
d0c321b43a
5
.github/scripts/build.sh
vendored
5
.github/scripts/build.sh
vendored
@ -21,6 +21,9 @@ export VALGRIND=${VALGRIND:-0}
|
||||
export FUZZING=${FUZZING:-0}
|
||||
export LIGHTNINGD_POSTGRES_NO_VACUUM=1
|
||||
|
||||
# Fail if any commands fail.
|
||||
set -e
|
||||
|
||||
pip3 install --user poetry
|
||||
poetry config virtualenvs.create false --local
|
||||
poetry install
|
||||
@ -89,7 +92,7 @@ then
|
||||
|
||||
./configure CC="$TARGET_HOST-gcc" --enable-static
|
||||
|
||||
make -j32 CC="$TARGET_HOST-gcc" > /dev/null
|
||||
make -s -j32 CC="$TARGET_HOST-gcc"
|
||||
else
|
||||
eatmydata make -j32
|
||||
# shellcheck disable=SC2086
|
||||
|
Loading…
Reference in New Issue
Block a user