Only run QEMU tests if there is a QEMU-related change. (#2090)
* Only run QEMU tests if there is a change. * fmt.
This commit is contained in:
parent
fef6c8d1b1
commit
98863fbff5
17
.github/workflows/build_and_test.yml
vendored
17
.github/workflows/build_and_test.yml
vendored
@ -361,7 +361,24 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: RUN_ON_CI=1 LLVM_CONFIG=llvm-config ./scripts/test_fuzzer.sh ${{ matrix.fuzzer }}
|
run: RUN_ON_CI=1 LLVM_CONFIG=llvm-config ./scripts/test_fuzzer.sh ${{ matrix.fuzzer }}
|
||||||
|
|
||||||
|
changes:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
pull-requests: read
|
||||||
|
outputs:
|
||||||
|
qemu: ${{ steps.filter.outputs.qemu }}
|
||||||
|
steps:
|
||||||
|
- uses: dorny/paths-filter@v3
|
||||||
|
id: filter
|
||||||
|
with:
|
||||||
|
filters: |
|
||||||
|
qemu:
|
||||||
|
- 'libafl_qemu/**'
|
||||||
|
- 'fuzzers/*qemu*/**'
|
||||||
|
|
||||||
fuzzers-qemu:
|
fuzzers-qemu:
|
||||||
|
needs: changes
|
||||||
|
if: ${{ needs.changes.outputs.qemu == 'true' }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user