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