|
1 | 1 | name: fuzz |
2 | 2 | run-name: Fuzz |
3 | 3 | env: |
4 | | - OWNER_RDPATH: ./source # Rel path to the dir that contains the fuzzing infra (contains "fuzz" dir). |
5 | | - DURATION_SEC: 7200 # Fuzzing run duration in seconds. |
6 | | - STDERR_LOG_FNAME: fuzz.stderr.log # File name to redirect the fuzzing run's stderr to. |
7 | | - TMIN_LOG_FNAME: fuzz.tmin.log # File name to redirect the fuzzing input minimization log to. |
8 | | - GH_ISSUE_TEMPLATE_RFPATH: .github/ISSUE_TEMPLATE/fuzz_bug_report.md |
9 | | - # GitHub issue template rel file path. |
10 | | - ARTIFACTS_RDPATH: fuzz/artifacts # Fuzzing artifacts rel dir path. |
11 | | - SEEDS_RDPATH: fuzz/seed_inputs # Fuzzing seed inputs rel dir path. |
12 | | - SEEDS_FNAME: list.txt # Fuzzing seed inputs list file name. |
| 4 | + OWNER_RDPATH: ./source # Rel path to the dir that contains the fuzzing infra (contains "fuzz" dir). |
| 5 | + DURATION_SEC: 7200 # Fuzzing run duration in seconds. |
| 6 | + STDERR_LOG_FNAME: fuzz.stderr.log # File name to redirect the fuzzing run's stderr to. |
| 7 | + TMIN_LOG_FNAME: fuzz.tmin.log # File name to redirect the fuzzing input minimization log to. |
| 8 | + GH_ISSUE_TEMPLATE_RFPATH: |
| 9 | + .github/ISSUE_TEMPLATE/fuzz_bug_report.md |
| 10 | + # GitHub issue template rel file path. |
| 11 | + ARTIFACTS_RDPATH: fuzz/artifacts # Fuzzing artifacts rel dir path. |
| 12 | + SEEDS_RDPATH: fuzz/seed_inputs # Fuzzing seed inputs rel dir path. |
| 13 | + SEEDS_FNAME: list.txt # Fuzzing seed inputs list file name. |
13 | 14 | on: |
14 | | - workflow_dispatch: # Manual runs. |
| 15 | + workflow_dispatch: # Manual runs. |
15 | 16 | push: |
16 | 17 | branches: |
17 | | - - main # Development runs against main branch. |
| 18 | + - main # Development runs against main branch. |
18 | 19 | paths: |
19 | | - - 'source/compiler/**' # Run if the compiler was changed. |
20 | | - - 'source/fuzz/**' # Run if the fuzzing infra was changed. |
21 | | - - '.github/ISSUE_TEMPLATE/fuzz_bug_report.md' |
22 | | - # Run if the GitHub issue template was changed. |
23 | | - - '.github/workflows/fuzz.yml' # Run if the workflow itself was changed. |
24 | | - - '!source/compiler/qsc_eval/**' # Exclude the qsc_eval dir. |
25 | | - - '!source/compiler/qsc_codegen/**' # Exclude the qsc_codegen dir. |
| 20 | + - "source/compiler/**" # Run if the compiler was changed. |
| 21 | + - "source/fuzz/**" # Run if the fuzzing infra was changed. |
| 22 | + - ".github/ISSUE_TEMPLATE/fuzz_bug_report.md" |
| 23 | + # Run if the GitHub issue template was changed. |
| 24 | + - ".github/workflows/fuzz.yml" # Run if the workflow itself was changed. |
| 25 | + - "!source/compiler/qsc_eval/**" # Exclude the qsc_eval dir. |
| 26 | + - "!source/compiler/qsc_codegen/**" # Exclude the qsc_codegen dir. |
26 | 27 |
|
27 | 28 | jobs: |
28 | 29 | fuzz: |
29 | 30 | name: Fuzzing |
30 | 31 | strategy: |
31 | 32 | fail-fast: false |
32 | 33 | matrix: |
33 | | - os: [ubuntu-latest] # Fuzzing is not supported on Win. The macos is temporarily removed |
34 | | - # because of low availability. |
| 34 | + os: |
| 35 | + [ubuntu-latest] # Fuzzing is not supported on Win. The macos is temporarily removed |
| 36 | + # because of low availability. |
35 | 37 | target_name: [qsharp, qasm] |
36 | 38 |
|
37 | 39 | runs-on: ${{ matrix.os }} |
@@ -211,7 +213,7 @@ jobs: |
211 | 213 | if: failure() |
212 | 214 | uses: JasonEtco/create-an-issue@v2 |
213 | 215 | env: |
214 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 216 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
215 | 217 | WORKFLOW_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} |
216 | 218 | with: |
217 | 219 | filename: ${{ env.GH_ISSUE_TEMPLATE_RFPATH }} |
|
0 commit comments