-
Notifications
You must be signed in to change notification settings - Fork 34
40 lines (40 loc) · 1.08 KB
/
run-all-tests-main.yaml
File metadata and controls
40 lines (40 loc) · 1.08 KB
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
name: "🔍 Fuzz Tests"
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
fuzz_tests:
name: fuzz tests
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v6
- uses: actions/cache@v5
id: cache-fuzzer
with:
path: |
packages/fuzzer/prebuilds
key:
fuzzer-cache-${{ runner.os }}-${{
hashFiles('packages/fuzzer/CMakeLists.txt',
'packages/fuzzer/**/*.h', 'packages/fuzzer/**/*.cpp') }}
- name: node
uses: actions/setup-node@v6
with:
node-version: 22
cache: "npm"
- name: install dependencies
run: npm ci
- name: build project
run: npm run build
- name: build fuzzer
if: ${{ steps.cache-fuzzer.outputs.cache-hit != 'true' }}
run: npm run build --workspace=@jazzer.js/fuzzer
- name: run all fuzz tests
run: node fuzztests/runFuzzTests.js