fortify-headers

standalone fortify-source implementation
git clone git://git.2f30.org/fortify-headers
Log | Files | Refs | README | LICENSE

commit 62652102ec8ff63fb2b530b1f4f04214a60387b1
parent d6ad45acead3db959ba40aeba532b9782048de42
Author: jvoisin <julien.voisin@dustri.org>
Date:   Sun, 20 Aug 2023 22:13:54 +0200

Run the testsuite on multiple gcc versions

Diffstat:
M.github/workflows/testsuite.yaml | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/testsuite.yaml b/.github/workflows/testsuite.yaml @@ -8,6 +8,9 @@ on: jobs: gcc: runs-on: ubuntu-latest + strategy: + matrix: + version: [9, 10, 11, 12] steps: - name: Checking out the code uses: actions/checkout@v3 @@ -23,6 +26,10 @@ jobs: - name: Extracting musl-based toolchain if: steps.cache-musl.outputs.cache-hit != 'true' run: tar xzf ./x86_64-linux-musl-native.tgz + - name: Setting up gcc version + run: | + sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-${{ matrix.version }} 100 + sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ matrix.version }} 100 - name: Running the testsuite shell: bash run: make -C tests gcc | grep -zqv FAIL