Skip to content

Commit

Permalink
fix ci codeql, cifuzz
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed May 9, 2024
1 parent fa53488 commit 84e8f3d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cifuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,23 @@ jobs:
Fuzzing:
runs-on: ubuntu-latest
steps:
- name: Get dependencies
run: pip install click

- name: Build Fuzzers
id: build
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
with:
oss-fuzz-project-name: 'tinyusb'
language: c++

- name: Run Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
with:
oss-fuzz-project-name: 'tinyusb'
language: c++
fuzz-seconds: 600

- name: Upload Crash
uses: actions/upload-artifact@v4
if: failure() && steps.build.outcome == 'success'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/codeql-buildscript.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash

FAMILY=stm32l4
pip install click
python3 tools/get_deps.py $FAMILY
python3 tools/build_make.py $FAMILY
python3 tools/build.py $FAMILY
1 change: 0 additions & 1 deletion .github/workflows/hil_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,4 @@ jobs:

- name: Test on actual hardware
run: |
tree cmake-build
python3 test/hil/hil_test.py $BOARD_LIST pi4.json

0 comments on commit 84e8f3d

Please sign in to comment.