summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/testsuite.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/testsuite.yaml b/.github/workflows/testsuite.yaml
index 8de273c..3185f0c 100644
--- a/.github/workflows/testsuite.yaml
+++ b/.github/workflows/testsuite.yaml
@@ -104,3 +104,30 @@ jobs:
104 - name: Building with gcc 104 - name: Building with gcc
105 shell: bash 105 shell: bash
106 run: CFLAGS=-std=${{ matrix.version }} make -C tests clean gcc run 106 run: CFLAGS=-std=${{ matrix.version }} make -C tests clean gcc run
107
108 fortify_level:
109 runs-on: ubuntu-latest
110 strategy:
111 matrix:
112 level: [2, 3]
113 steps:
114 - name: Checking out the code
115 uses: actions/checkout@v3
116 - name: Cache musl toolchain
117 uses: actions/cache@v3
118 id: cache-musl
119 with:
120 path: x86_64-linux-musl-native
121 key: musl
122 - name: Downloading musl-based toolchain
123 if: steps.cache-musl.outputs.cache-hit != 'true'
124 run: wget --quiet https://dustri.org/x86_64-linux-musl-native.tgz
125 - name: Extracting musl-based toolchain
126 if: steps.cache-musl.outputs.cache-hit != 'true'
127 run: tar xzf ./x86_64-linux-musl-native.tgz
128 - name: Building with clang
129 shell: bash
130 run: _FORTIFY_SOURCE=${{ matrix.level }} make -C tests clean clang
131 - name: Building with gcc
132 shell: bash
133 run: _FORTIFY_SOURCE=${{ matrix.level }} make -C tests clean gcc