Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
Added CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JarandJR committed Oct 3, 2023
1 parent 47f2ae7 commit ccfdd4b
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: CI with fuzzing and tests with address sanitizer

on:
push:
branches:
- main
paths:
- 'oving5/**'

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"
File renamed without changes.

0 comments on commit ccfdd4b

Please sign in to comment.