mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-02 07:55:46 +03:00
OSS-FUZZ: Add in i386 build for fuzzing
This commit is contained in:
1 parent
4c3f4af1c0
commit
3035cfd751
1 file changed
+16
-3
@@ -14,6 +14,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
|
||||
@@ -21,17 +31,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
|
||||
Reference in new issue
Block a user