From: Evgeny Vereshchagin Date: Mon, 13 Jul 2020 01:20:11 +0000 (+0000) Subject: cifuzz: turn on UBsan and MSan X-Git-Tag: v1.4.7~116^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2242%2Fhead;p=thirdparty%2Fzstd.git cifuzz: turn on UBsan and MSan --- diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 645c84f81..0e14345dc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,22 +3,28 @@ on: [pull_request] jobs: Fuzzing: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + sanitizer: [address, undefined, memory] steps: - - name: Build Fuzzers + - name: Build Fuzzers (${{ matrix.sanitizer }}) id: build uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master with: oss-fuzz-project-name: 'zstd' dry-run: false - - name: Run Fuzzers + sanitizer: ${{ matrix.sanitizer }} + - name: Run Fuzzers (${{ matrix.sanitizer }}) uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master with: oss-fuzz-project-name: 'zstd' fuzz-seconds: 600 dry-run: false + sanitizer: ${{ matrix.sanitizer }} - name: Upload Crash uses: actions/upload-artifact@v1 if: failure() && steps.build.outcome == 'success' with: - name: artifacts + name: ${{ matrix.sanitizer }}-artifacts path: ./out/artifacts