forked from Yubico/libfido2
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (38 loc) · 919 Bytes
/
linux_fuzz.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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-20.04 ]
cc: [ clang-14 ]
sanitizer: [ asan, msan ]
steps:
- uses: actions/checkout@v2
- 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}"