forked from google/xls
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (30 loc) · 1.24 KB
/
nightly-fuzz.yml
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
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
# See also: https://github.com/marketplace/actions/bazel-action
name: Nightly Fuzz
on:
schedule:
# Nightly at midnight -- uses UTC, so 7am.
- cron: '0 7 * * *'
# This lets us trigger manually from the UI.
workflow_dispatch:
jobs:
build:
name: Nightly Fuzz
runs-on:
labels: ubuntu-22.04-64core
steps:
- uses: actions/checkout@v2
# We don't use action/cache nighlty workflows to ensure full reproducibility of the build.
- name: Install dependencies via apt
run: sudo apt-get install python3-distutils python3-dev python-is-python3 libtinfo5 build-essential liblapack-dev libblas-dev gfortran
- name: Bazel Build Fuzz Driver (opt)
run: |
bazel build -c opt --noshow_progress xls/fuzzer:run_fuzz_multiprocess
- name: Bazel Run Fuzz (opt)
run: |
bazel run -c opt xls/fuzzer:run_fuzz_multiprocess -- --crash_path "${GITHUB_WORKSPACE}/crashers" --sample_count=2048 --summary_path "${GITHUB_WORKSPACE}/crashers"
- name: Upload Fuzz Crashers
uses: actions/upload-artifact@v4
with:
name: crashers
path: "${GITHUB_WORKSPACE}/crashers"