fortify-headers

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

commit bcf82d51e6a5c3b3145afe8bacfa03b92d5b3f5d
parent 8513fddefca4c6e3982718732afeec71bad4e688
Author: jvoisin <julien.voisin@dustri.org>
Date:   Thu, 28 Dec 2023 10:06:59 +0100

Build with USE_NATIVE_CHK for clang and gcc

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

diff --git a/.github/workflows/testsuite.yaml b/.github/workflows/testsuite.yaml @@ -31,10 +31,13 @@ jobs: 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: Build with native chk + if: ${{ matrix.use_native_chk == true }} + run: make CFLAGS=-DUSE_NATIVE_CHK -C tests gcc - name: Build without native chk, and run the testsuite if: ${{ matrix.use_native_chk == false }} shell: bash - run: make -C tests gcc run + run: make -C tests clean gcc run clang: runs-on: ubuntu-latest @@ -63,9 +66,8 @@ jobs: sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{ matrix.version }} 100 - name: Build with native chk if: ${{ matrix.use_native_chk == true }} - shell: bash run: make CFLAGS=-DUSE_NATIVE_CHK -C tests clang - name: Building and running without native chk if: ${{ matrix.use_native_chk == false }} shell: bash - run: make -C tests clang run + run: make -C tests clean clang run