summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/testsuite.yaml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/testsuite.yaml b/.github/workflows/testsuite.yaml
index 87cd035..00f8565 100644
--- a/.github/workflows/testsuite.yaml
+++ b/.github/workflows/testsuite.yaml
@@ -31,10 +31,13 @@ jobs:
31 run: | 31 run: |
32 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-${{ matrix.version }} 100 32 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-${{ matrix.version }} 100
33 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ matrix.version }} 100 33 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ matrix.version }} 100
34 - name: Build with native chk
35 if: ${{ matrix.use_native_chk == true }}
36 run: make CFLAGS=-DUSE_NATIVE_CHK -C tests gcc
34 - name: Build without native chk, and run the testsuite 37 - name: Build without native chk, and run the testsuite
35 if: ${{ matrix.use_native_chk == false }} 38 if: ${{ matrix.use_native_chk == false }}
36 shell: bash 39 shell: bash
37 run: make -C tests gcc run 40 run: make -C tests clean gcc run
38 41
39 clang: 42 clang:
40 runs-on: ubuntu-latest 43 runs-on: ubuntu-latest
@@ -63,9 +66,8 @@ jobs:
63 sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{ matrix.version }} 100 66 sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{ matrix.version }} 100
64 - name: Build with native chk 67 - name: Build with native chk
65 if: ${{ matrix.use_native_chk == true }} 68 if: ${{ matrix.use_native_chk == true }}
66 shell: bash
67 run: make CFLAGS=-DUSE_NATIVE_CHK -C tests clang 69 run: make CFLAGS=-DUSE_NATIVE_CHK -C tests clang
68 - name: Building and running without native chk 70 - name: Building and running without native chk
69 if: ${{ matrix.use_native_chk == false }} 71 if: ${{ matrix.use_native_chk == false }}
70 shell: bash 72 shell: bash
71 run: make -C tests clang run 73 run: make -C tests clean clang run