From 99f9f421e37228ccbfc153cfe403889b20392454 Mon Sep 17 00:00:00 2001 From: Jon Shallow Date: Sat, 13 Jun 2026 19:49:09 +0100 Subject: [PATCH] OSS-FUZZ: Add in i386 build for fuzzing --- .github/workflows/cifuzz.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml index 016e78d6..2cb66889 100644 --- a/.github/workflows/cifuzz.yml +++ b/.github/workflows/cifuzz.yml @@ -11,6 +11,16 @@ on: jobs: Fuzzing: runs-on: ubuntu-latest + strategy: + matrix: + sanitizer: + - address + - undefined + architecture: + - x86_64 + include: + - sanitizer: address + architecture: i386 steps: - name: Build Fuzzers id: build @@ -18,17 +28,20 @@ jobs: with: oss-fuzz-project-name: 'libcoap' dry-run: false - language: c++ + sanitizer: ${{ matrix.sanitizer }} + architecture: ${{ matrix.architecture }} + language: c - name: Run Fuzzers uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master with: oss-fuzz-project-name: 'libcoap' fuzz-seconds: 300 + sanitizer: ${{ matrix.sanitizer }} dry-run: false - language: c++ + language: c - name: Upload Crash uses: actions/upload-artifact@v4 if: failure() && steps.build.outcome == 'success' with: - name: artifacts + name: ${{ matrix.sanitizer }}-${{ matrix.architecture }}-artifacts path: ./out/artifacts