fortify-headers

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

commit 87cdb231528847386c8d5408e252f7afec52c6a6
parent 8848bca36ef19c15b071939e69bec77603d64ca1
Author: jvoisin <julien.voisin@dustri.org>
Date:   Sun, 25 Jun 2023 18:36:32 +0200

Run clang and gcc in the CI

Diffstat:
M.github/workflows/testsuite.yaml | 16++++++++++++++--
Mtests/Makefile | 2+-
2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/testsuite.yaml b/.github/workflows/testsuite.yaml @@ -6,7 +6,7 @@ on: - cron: '0 16 * * 5' jobs: - ci: + gcc: runs-on: ubuntu-latest steps: - name: Checking out the code @@ -16,4 +16,16 @@ jobs: - name: Extracting musl-based toolchain run: tar xzf ./x86_64-linux-musl-native.tgz - name: Running the testsuite - run: make -C tests | grep -zqv FAIL + run: make -C tests gcc | grep -zqv FAIL + + clang: + runs-on: ubuntu-latest + steps: + - name: Checking out the code + uses: actions/checkout@v3 + - name: Downloading musl-based toolchain + run: wget https://musl.cc/x86_64-linux-musl-native.tgz + - name: Extracting musl-based toolchain + run: tar xzf ./x86_64-linux-musl-native.tgz + - name: Running the testsuite + run: make -C tests clang | grep -zqv FAIL diff --git a/tests/Makefile b/tests/Makefile @@ -34,7 +34,7 @@ TARGETS= \ test_poll \ test_ppoll \ -#.SILENT: +.SILENT: gcc: CC=../x86_64-linux-musl-native/bin/gcc gcc: GCOV=../x86_64-linux-musl-native/bin/gcov