BENB pico main rewrite and custom profiler #101
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: Host Based Testing | |
on: | |
push: | |
jobs: | |
# First Job: Unit Tests | |
unit_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Clang | |
uses: egor-tensin/setup-clang@v1 | |
with: | |
version: latest | |
platform: x64 | |
- name: Run host based tests | |
run: | | |
./host_test.sh | |
# Second Job: Fuzzing | |
fuzzing: | |
runs-on: ubuntu-latest | |
needs: unit_tests # This ensures that fuzzing runs only after unit_tests completes successfully | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Clang | |
uses: egor-tensin/setup-clang@v1 | |
with: | |
version: latest | |
platform: x64 | |
- name: Build and run fuzz test | |
run: | | |
./host_fuzz.sh | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: Fuzzing Binary | |
path: | | |
fuzzer_test | |
input.bin |