File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 1
1
# Automatically generated by fuzz/generate-files.sh
2
2
name : Fuzz
3
-
4
3
on :
5
- push :
6
- branches :
7
- - master
8
- - ' test-ci/**'
9
- pull_request :
4
+ schedule :
5
+ # 6am every day UTC, this correlates to:
6
+ # - 11pm PDT
7
+ # - 7am CET
8
+ # - 5pm AEDT
9
+ - cron : ' 00 06 * * *'
10
10
11
11
jobs :
12
12
fuzz :
15
15
strategy :
16
16
fail-fast : false
17
17
matrix :
18
+ # We only get 20 jobs at a time, we probably don't want to go
19
+ # over that limit with fuzzing because of the hour run time.
18
20
fuzz_target : [
19
21
roundtrip_semantic,
20
22
parse_descriptor,
@@ -28,20 +30,18 @@ compile_descriptor,
28
30
steps :
29
31
- name : Install test dependencies
30
32
run : sudo apt-get update -y && sudo apt-get install -y binutils-dev libunwind8-dev libcurl4-openssl-dev libelf-dev libdw-dev cmake gcc libiberty-dev
31
- - uses : actions/checkout@v2
32
- - uses : actions/cache@v2
33
+ - uses : actions/checkout@v4
34
+ - uses : actions/cache@v4
33
35
id : cache-fuzz
34
36
with :
35
37
path : |
36
38
~/.cargo/bin
37
39
fuzz/target
38
40
target
39
41
key : cache-${{ matrix.target }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}
40
- - uses : actions-rs/ toolchain@v1
42
+ - uses : dtolnay/rust- toolchain@stable
41
43
with :
42
- toolchain : ' 1.65'
43
- override : true
44
- profile : minimal
44
+ toolchain : ' 1.65.0'
45
45
- name : fuzz
46
46
run : cd fuzz && ./fuzz.sh "${{ matrix.fuzz_target }}"
47
47
- run : echo "${{ matrix.fuzz_target }}" >executed_${{ matrix.fuzz_target }}
Original file line number Diff line number Diff line change 38
38
done
39
39
40
40
# 2. Generate .github/workflows/fuzz.yml
41
- cat > " $REPO_DIR /.github/workflows/fuzz.yml" << EOF
41
+ cat > " $REPO_DIR /.github/workflows/cron-daily- fuzz.yml" << EOF
42
42
# Automatically generated by fuzz/generate-files.sh
43
43
name: Fuzz
44
44
on:
45
45
schedule:
46
- # 5am every day UTC, this correlates to:
46
+ # 6am every day UTC, this correlates to:
47
47
# - 11pm PDT
48
48
# - 7am CET
49
49
# - 5pm AEDT
You can’t perform that action at this time.
0 commit comments