1name: Rust Custom Mutators 2 3on: 4 push: 5 branches: [ stable, dev ] 6 pull_request: 7 branches: [ stable, dev ] 8 9jobs: 10 test: 11 name: Test Rust Custom Mutator Support 12 runs-on: '${{ matrix.os }}' 13 defaults: 14 run: 15 working-directory: custom_mutators/rust 16 strategy: 17 matrix: 18 os: [ubuntu-20.04] 19 steps: 20 - uses: actions/checkout@v2 21 - name: Install Rust Toolchain 22 uses: actions-rs/toolchain@v1 23 with: 24 toolchain: stable 25 - name: Check Code Compiles 26 run: cargo check 27 - name: Run General Tests 28 run: cargo test 29 - name: Run Tests for afl_internals feature flag 30 run: cd custom_mutator && cargo test --features=afl_internals