This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
Added picture #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI with fuzzing and tests with address sanitizer | |
on: | |
push: | |
paths: | |
- 'oving5/**' | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
build-test-fuzz: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: sudo apt-get install -y cmake clang | |
- name: Prepare Build Directory | |
run: | | |
cd oving5/ | |
mkdir build | |
cd build | |
- name: Configure CMake and Build | |
run: | | |
cd oving5/build | |
CC=clang cmake .. | |
make | |
- name: Run Tests | |
run: | | |
cd oving5/build | |
./tests/format_string_test | |
- name: Run Fuzzer | |
run: | | |
cd oving5/build | |
./tests/fuzz_test -max_total_time=60 | |
env: | |
ASAN_OPTIONS: "detect_leaks=1" |