diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-01-05 11:22:11 +0000 |
---|---|---|
committer | Philip Herron <herron.philip@googlemail.com> | 2021-01-06 10:52:56 +0000 |
commit | af04ea2222b6407fb3e83759ae332d600495380c (patch) | |
tree | 3bd0c9ad931c10eae6b528f933d573d37024f720 | |
parent | c2cc8df0b5aacd448f464e5a927d03730698aba8 (diff) | |
download | gcc-af04ea2222b6407fb3e83759ae332d600495380c.zip gcc-af04ea2222b6407fb3e83759ae332d600495380c.tar.gz gcc-af04ea2222b6407fb3e83759ae332d600495380c.tar.bz2 |
Change CI to look for any unexpected failures to fail the build.
-rw-r--r-- | .github/workflows/ccpp.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 97dc603..c12e2fa 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -49,4 +49,5 @@ jobs: - name: Test run: | cd gccrs-build; \ - make check-rust + make check-rust | tee results.log; \ + if [ `grep "# of unexpected failures" results.log | wc -l` != "0" ]; then exit 1; fi |