mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Add clean + update checks
This commit is contained in:
parent
60cc2be07f
commit
306e5d4042
4
.github/workflows/install.yml
vendored
4
.github/workflows/install.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
./.github/cli-space-cleanup.sh
|
./.github/cli-space-cleanup.sh
|
||||||
df -h
|
df -h
|
||||||
- name: install
|
- name: install
|
||||||
run: sudo ./bin/wally-tool-chain-install.sh
|
run: sudo ./bin/wally-tool-chain-install.sh --clean
|
||||||
- name: make tests
|
- name: make tests
|
||||||
run: |
|
run: |
|
||||||
source setup.sh
|
source setup.sh
|
||||||
@ -56,7 +56,7 @@ jobs:
|
|||||||
nsenter -t 1 -m -u -n -i bash -c "$(cat .github/cli-space-cleanup.sh)"
|
nsenter -t 1 -m -u -n -i bash -c "$(cat .github/cli-space-cleanup.sh)"
|
||||||
df -h
|
df -h
|
||||||
- name: install
|
- name: install
|
||||||
run: ./bin/wally-tool-chain-install.sh
|
run: ./bin/wally-tool-chain-install.sh --clean
|
||||||
- name: make tests
|
- name: make tests
|
||||||
run: |
|
run: |
|
||||||
source setup.sh
|
source setup.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)
|
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
|
trap error ERR # run error handler on error
|
||||||
STATUS="setup" # keep track of what part of the installation is running for error messages
|
STATUS="setup" # keep track of what part of the installation is running for error messages
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user