From 9c3a12e3b014725fcf97dc5434e3453817589515 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sun, 15 Mar 2026 23:37:34 +0100 Subject: Add old GCC versions to the CI --- .github/workflows/testsuite.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/testsuite.yaml b/.github/workflows/testsuite.yaml index 3185f0c..440d799 100644 --- a/.github/workflows/testsuite.yaml +++ b/.github/workflows/testsuite.yaml @@ -43,6 +43,24 @@ jobs: if: ${{ failure() }} run: cat ./results.txt + old_gcc: + runs-on: ubuntu-latest + container: gcc:${{ matrix.version }} + strategy: + matrix: + version: [4, 5, 6, 7, 8] + steps: + - name: Checking out the code + uses: actions/checkout@v1 + - name: Build and run the testsuite + shell: bash + run : make --silent -C tests clean gcc run | tee ./results.txt + - name: Check the testsuite's output + shell: bash + run: grep -zvq 'FAIL' ./results.txt + - name: Show logs in case of failure + if: ${{ failure() }} + run: cat ./results.txt clang: runs-on: ubuntu-latest -- cgit v1.3