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 11# Automatically generated by fuzz/generate-files.sh
22name : Fuzz
3-
43on :
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 * * *'
1010
1111jobs :
1212 fuzz :
1515 strategy :
1616 fail-fast : false
1717 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.
1820 fuzz_target : [
1921roundtrip_semantic,
2022parse_descriptor,
@@ -28,20 +30,18 @@ compile_descriptor,
2830 steps :
2931 - name : Install test dependencies
3032 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
3335 id : cache-fuzz
3436 with :
3537 path : |
3638 ~/.cargo/bin
3739 fuzz/target
3840 target
3941 key : cache-${{ matrix.target }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}
40- - uses : actions-rs/ toolchain@v1
42+ - uses : dtolnay/rust- toolchain@stable
4143 with :
42- toolchain : ' 1.65'
43- override : true
44- profile : minimal
44+ toolchain : ' 1.65.0'
4545 - name : fuzz
4646 run : cd fuzz && ./fuzz.sh "${{ matrix.fuzz_target }}"
4747 - run : echo "${{ matrix.fuzz_target }}" >executed_${{ matrix.fuzz_target }}
Original file line number Diff line number Diff line change 3838done
3939
4040# 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
4242# Automatically generated by fuzz/generate-files.sh
4343name: Fuzz
4444on:
4545 schedule:
46- # 5am every day UTC, this correlates to:
46+ # 6am every day UTC, this correlates to:
4747 # - 11pm PDT
4848 # - 7am CET
4949 # - 5pm AEDT
You can’t perform that action at this time.
0 commit comments