Skip to content

Commit e824a08

Browse files
committed
ci: Run tests with gccrs compiled under gcc-4.8
1 parent 14b0472 commit e824a08

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

.github/workflows/ccpp.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
exit 0; \
8686
fi
8787
88-
build-and-check-older-gcc:
88+
build-and-check-gcc-48:
8989

9090
runs-on: ubuntu-18.04
9191
steps:
@@ -126,3 +126,26 @@ jobs:
126126
shell: bash
127127
run: |
128128
make -C gccrs-build -j $(nproc)
129+
130+
- name: Run Tests
131+
run: |
132+
cd gccrs-build; \
133+
make check-rust
134+
135+
- name: Archive check-rust results
136+
uses: actions/upload-artifact@v2
137+
with:
138+
name: check-rust-logs-4.8
139+
path: |
140+
gccrs-build/gcc/testsuite/rust/
141+
142+
- name: Check regressions
143+
run: |
144+
cd gccrs-build; \
145+
if grep -e "unexpected" -e "unresolved" gcc/testsuite/rust/rust.sum;\
146+
then \
147+
echo "some tests are not correct"; \
148+
exit 1; \
149+
else \
150+
exit 0; \
151+
fi

0 commit comments

Comments
 (0)