diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index ec7a0cf34..52cb45f95 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -22,7 +22,7 @@ jobs: ./.github/cli-space-cleanup.sh df -h - name: install - run: sudo ./bin/wally-tool-chain-install.sh + run: sudo ./bin/wally-tool-chain-install.sh --clean - name: make tests run: | source setup.sh @@ -56,7 +56,7 @@ jobs: nsenter -t 1 -m -u -n -i bash -c "$(cat .github/cli-space-cleanup.sh)" df -h - name: install - run: ./bin/wally-tool-chain-install.sh + run: ./bin/wally-tool-chain-install.sh --clean - name: make tests run: | source setup.sh diff --git a/bin/wally-tool-chain-install.sh b/bin/wally-tool-chain-install.sh index fdb9d6e4f..1905d484c 100755 --- a/bin/wally-tool-chain-install.sh +++ b/bin/wally-tool-chain-install.sh @@ -72,7 +72,7 @@ logger() { cat < /dev/stdin | tee -a "$log" | (grep -iE --color=never "(\bwarning|\berror|\bfail|\bsuccess|\bstamp|\bdoesn't work)" || true) | (grep -viE --color=never "(_warning|warning_|_error|error_|-warning|warning-|-error|error-|Werror|error\.o|warning flags)" || true) } -set -e # break on error +set -ex # break on error trap error ERR # run error handler on error STATUS="setup" # keep track of what part of the installation is running for error messages