Skip to content

Commit 035e5c4

Browse files
committed
Fuzzing: run harness as part of workflow
1 parent 49c8f61 commit 035e5c4

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/build_and_fuzz.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Build and Fuzz
22

3-
on: [push, pull_request]
3+
on:
4+
schedule:
5+
# Run this every wednesday at 3:50. https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
6+
- cron: '50 3 * * 3'
47

58
jobs:
69
fuzz_msan:
@@ -27,6 +30,10 @@ jobs:
2730
-B build-msan
2831
cmake --build build-msan
2932
33+
- name: run harness for fuzz_get_attribute_value
34+
working-directory: yubihsm-shell
35+
run: ./build-msan/pkcs11/fuzz_get_attribute_value -max_total_time=1800
36+
3037
fuzz_asan:
3138
name: fuzz with AddressSanitizer
3239
runs-on: ubuntu-latest
@@ -62,3 +69,7 @@ jobs:
6269
-DENABLE_STATIC=ON \
6370
-B build-asan
6471
cmake --build build-asan
72+
73+
- name: run harness for fuzz_get_attribute_value
74+
working-directory: yubihsm-shell
75+
run: ./build-asan/pkcs11/fuzz_get_attribute_value -max_total_time=1800

0 commit comments

Comments
 (0)