github: Also run UBSan with CIFuzz

This commit is contained in:
Tobias Brunner
2026-02-04 12:38:28 +01:00
parent 0f4a78025c
commit 8a8d4640cf
+7 -1
View File
@@ -16,6 +16,10 @@ jobs:
needs: pre-check
if: ${{ needs.pre-check.outputs.should_skip != 'true' }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sanitizer: [address, undefined]
permissions:
security-events: write
steps:
@@ -25,6 +29,7 @@ jobs:
with:
oss-fuzz-project-name: 'strongswan'
language: c
sanitizer: ${{ matrix.sanitizer }}
- name: Run Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
@@ -32,12 +37,13 @@ jobs:
oss-fuzz-project-name: 'strongswan'
output-sarif: true
language: c
sanitizer: ${{ matrix.sanitizer }}
- name: Upload Crash
uses: actions/upload-artifact@v4
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
name: ${{ matrix.sanitizer }}-artifacts
path: ./out/artifacts
- name: Upload Sarif