diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2024-05-04 00:05:23 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2024-05-04 00:05:23 +0000 |
| commit | e85dbcdab023dbfc335f9a0a5cb9c3dc3f830b94 (patch) | |
| tree | 94a2f69d1f6664d1bd98ec5993a773d82209741b /.github/workflows/linux_fuzz.yml | |
| parent | 00db45a65823dc224f3630bc8185e789064fef6a (diff) | |
Vendor import of libfido2 1.14.0vendor/libfido2/1.14.0vendor/libfido2
Diffstat (limited to '.github/workflows/linux_fuzz.yml')
| -rw-r--r-- | .github/workflows/linux_fuzz.yml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/.github/workflows/linux_fuzz.yml b/.github/workflows/linux_fuzz.yml new file mode 100644 index 000000000000..296c0d9fab23 --- /dev/null +++ b/.github/workflows/linux_fuzz.yml @@ -0,0 +1,41 @@ +# Copyright (c) 2022 Yubico AB. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause + +name: fuzzer + +on: + pull_request: + branches: + - main + push: + branches: + - main + - '*-ci' + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ ubuntu-22.04 ] + cc: [ clang-16 ] + sanitizer: [ asan, msan ] + steps: + - uses: actions/checkout@v4 + - name: dependencies + run: | + sudo apt -q update + sudo apt install -q -y libudev-dev libpcsclite-dev + - name: compiler + env: + CC: ${{ matrix.cc }} + run: | + sudo ./.actions/setup_clang "${CC}" + - name: fuzz + env: + CC: ${{ matrix.cc }} + SANITIZER: ${{ matrix.sanitizer }} + run: ./.actions/fuzz-linux "${SANITIZER}" |
