Fail when ubsan finds failures (#3166)

This is enabled for CS since ChezScheme has no ubsan warnings since: 65e05772a1
This commit is contained in:
Paulo Matos 2020-05-07 20:13:50 +02:00 committed by GitHub
parent 52b5f1864f
commit bc97c65bb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,8 +171,11 @@ jobs:
continue-on-error: true
run: raco test -l tests/db/all-tests | tee logs/db-all-tests.log
- name: Gather runtime errors
run: grep 'runtime error' logs/*.log > runtime-errors_git${{ github.sha }}.log
run: |
grep 'runtime error' logs/*.log > runtime-errors_git${{ github.sha }}.log || true
test ! -s runtime-errors_git${{ github.sha }}.log
- uses: actions/upload-artifact@v2
if: failure()
with:
name: runtime-errors-cs_git${{ github.sha }}
path: runtime-errors_git${{ github.sha }}.log