public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] ci: Run tests with gccrs compiled under gcc-4.8
@ 2022-06-08 12:25 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:25 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:e824a0835b1514d39287da3fe53dc9e11a0c5f42

commit e824a0835b1514d39287da3fe53dc9e11a0c5f42
Author: Arthur Cohen <arthur.cohen@embecosm.com>
Date:   Tue Mar 29 08:53:40 2022 +0200

    ci: Run tests with gccrs compiled under gcc-4.8

Diff:
---
 .github/workflows/ccpp.yml | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml
index 04cfbab6216..6159047a1b6 100644
--- a/.github/workflows/ccpp.yml
+++ b/.github/workflows/ccpp.yml
@@ -85,7 +85,7 @@ jobs:
               exit 0; \
             fi
 
-  build-and-check-older-gcc:
+  build-and-check-gcc-48:
 
     runs-on: ubuntu-18.04
     steps:
@@ -126,3 +126,26 @@ jobs:
       shell: bash
       run: |
            make -C gccrs-build -j $(nproc)
+
+    - name: Run Tests
+      run: |
+           cd gccrs-build; \
+           make check-rust
+
+    - name: Archive check-rust results
+      uses: actions/upload-artifact@v2
+      with:
+        name: check-rust-logs-4.8
+        path: |
+          gccrs-build/gcc/testsuite/rust/
+
+    - name: Check regressions
+      run: |
+           cd gccrs-build; \
+           if grep -e "unexpected" -e "unresolved" gcc/testsuite/rust/rust.sum;\
+           then \
+              echo "some tests are not correct"; \
+              exit 1; \
+            else \
+              exit 0; \
+            fi


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-08 12:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 12:25 [gcc/devel/rust/master] ci: Run tests with gccrs compiled under gcc-4.8 Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).