Nightly Fuzz #53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Nightly Fuzz | |
| on: | |
| schedule: | |
| - cron: "0 0 * * *" # every day at midnight | |
| workflow_dispatch: # allow manual triggering | |
| permissions: | |
| contents: read | |
| jobs: | |
| fuzz: | |
| name: Fuzz | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v7 | |
| - name: Set up Java | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| cache: maven | |
| - name: Fuzz Test | |
| if: github.repository_owner == 'bytecodealliance' | |
| run: | | |
| # Build everything | |
| mvn -B -Dquickly | |
| # Run differential fuzz tests (interpreter vs compiler) | |
| mvn -B verify -pl fuzz -DskipTests=false -Dfuzz.test.iterations=50 | |
| - name: Upload crash reproducers | |
| uses: actions/upload-artifact@v7 | |
| if: failure() | |
| with: | |
| name: fuzz-crash-reproducers | |
| path: fuzz/target/crash-reproducers/ | |
| retention-days: 90 | |
| if-no-files-found: ignore |