|
|
@ -148,3 +148,80 @@ jobs: |
|
|
|
- run: pip install ./python |
|
|
|
- run: pip install ./python |
|
|
|
- run: python -m unittest |
|
|
|
- run: python -m unittest |
|
|
|
working-directory: ./python/tests |
|
|
|
working-directory: ./python/tests |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fuzz_changes: |
|
|
|
|
|
|
|
if: github.event_name == 'pull_request' |
|
|
|
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- uses: actions/checkout@v3 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
submodules: true |
|
|
|
|
|
|
|
- uses: google/clusterfuzzlite/actions/build_fuzzers@v1 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
language: rust |
|
|
|
|
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|
|
|
|
sanitizer: address |
|
|
|
|
|
|
|
storage-repo: https://${{ secrets.FULL_ACCESS_TOKEN }}@github.com/oxigraph/clusterfuzzlite-oxigraph.git |
|
|
|
|
|
|
|
- uses: google/clusterfuzzlite/actions/run_fuzzers@v1 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|
|
|
|
fuzz-seconds: 600 |
|
|
|
|
|
|
|
mode: 'code-change' |
|
|
|
|
|
|
|
sanitizer: address |
|
|
|
|
|
|
|
storage-repo: https://${{ secrets.FULL_ACCESS_TOKEN }}@github.com/oxigraph/clusterfuzzlite-oxigraph.git |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fuzz_repo: |
|
|
|
|
|
|
|
if: github.event_name != 'pull_request' |
|
|
|
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- uses: actions/checkout@v3 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
submodules: true |
|
|
|
|
|
|
|
- uses: google/clusterfuzzlite/actions/build_fuzzers@v1 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
language: rust |
|
|
|
|
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|
|
|
|
sanitizer: address |
|
|
|
|
|
|
|
- uses: google/clusterfuzzlite/actions/run_fuzzers@v1 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|
|
|
|
fuzz-seconds: 3600 |
|
|
|
|
|
|
|
mode: 'batch' |
|
|
|
|
|
|
|
sanitizer: address |
|
|
|
|
|
|
|
storage-repo: https://${{ secrets.FULL_ACCESS_TOKEN }}@github.com/oxigraph/clusterfuzzlite-oxigraph.git |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fuzz_prune: |
|
|
|
|
|
|
|
if: github.event_name != 'pull_request' |
|
|
|
|
|
|
|
needs: fuzz_repo |
|
|
|
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- uses: actions/checkout@v3 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
submodules: true |
|
|
|
|
|
|
|
- uses: google/clusterfuzzlite/actions/build_fuzzers@v1 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
language: rust |
|
|
|
|
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|
|
|
|
- uses: google/clusterfuzzlite/actions/run_fuzzers@v1 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|
|
|
|
fuzz-seconds: 600 |
|
|
|
|
|
|
|
mode: 'prune' |
|
|
|
|
|
|
|
storage-repo: https://${{ secrets.FULL_ACCESS_TOKEN }}@github.com/oxigraph/clusterfuzzlite-oxigraph.git |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fuzz_coverage: |
|
|
|
|
|
|
|
if: github.event_name != 'pull_request' |
|
|
|
|
|
|
|
needs: fuzz_prune |
|
|
|
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- uses: google/clusterfuzzlite/actions/build_fuzzers@v1 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
language: rust |
|
|
|
|
|
|
|
sanitizer: coverage |
|
|
|
|
|
|
|
- uses: google/clusterfuzzlite/actions/run_fuzzers@v1 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|
|
|
|
fuzz-seconds: 600 |
|
|
|
|
|
|
|
mode: 'coverage' |
|
|
|
|
|
|
|
sanitizer: 'coverage' |
|
|
|
|
|
|
|
storage-repo: https://${{ secrets.FULL_ACCESS_TOKEN }}@github.com/oxigraph/clusterfuzzlite-oxigraph.git |
|
|
|