mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +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:
committed by
neil saitug
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 FUZZING=${FUZZING:-0}
|
||||||
export LIGHTNINGD_POSTGRES_NO_VACUUM=1
|
export LIGHTNINGD_POSTGRES_NO_VACUUM=1
|
||||||
|
|
||||||
|
# Fail if any commands fail.
|
||||||
|
set -e
|
||||||
|
|
||||||
pip3 install --user poetry
|
pip3 install --user poetry
|
||||||
poetry config virtualenvs.create false --local
|
poetry config virtualenvs.create false --local
|
||||||
poetry install
|
poetry install
|
||||||
@@ -89,7 +92,7 @@ then
|
|||||||
|
|
||||||
./configure CC="$TARGET_HOST-gcc" --enable-static
|
./configure CC="$TARGET_HOST-gcc" --enable-static
|
||||||
|
|
||||||
make -j32 CC="$TARGET_HOST-gcc" > /dev/null
|
make -s -j32 CC="$TARGET_HOST-gcc"
|
||||||
else
|
else
|
||||||
eatmydata make -j32
|
eatmydata make -j32
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
|
|||||||
Reference in New Issue
Block a user