aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2022-03-29 08:53:40 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2022-03-29 10:22:53 +0200
commite824a0835b1514d39287da3fe53dc9e11a0c5f42 (patch)
treedf0597fd7020a49f0de2b2d18f36d69f02d5fc1c
parent14b0472fa4cfb6a307968f7c6f4eed296cde7146 (diff)
downloadgcc-e824a0835b1514d39287da3fe53dc9e11a0c5f42.zip
gcc-e824a0835b1514d39287da3fe53dc9e11a0c5f42.tar.gz
gcc-e824a0835b1514d39287da3fe53dc9e11a0c5f42.tar.bz2
ci: Run tests with gccrs compiled under gcc-4.8
-rw-r--r--.github/workflows/ccpp.yml25
1 files changed, 24 insertions, 1 deletions
diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml
index 04cfbab..6159047 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