diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a1a784468..004f11330 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -34,7 +34,11 @@ jobs: matrix: environment: [ubuntu-latest, macos-latest] toolchain: [stable, nightly] + features: ['', cmplog] cc: [cc, clang] + exclude: + - toolchain: stable + features: cmplog include: - cc: cc cxx: c++ @@ -53,13 +57,13 @@ jobs: - name: Rustup run: rustup default ${{ matrix.toolchain }} - name: Build - run: cargo build -vv + run: cargo build --features=${{ matrix.features }} -vv - name: Run afl-system-config - run: cargo run -- afl system-config + run: cargo run --features=${{ matrix.features }} -- afl system-config - name: Build examples (with AFL instrumentation) - run: cargo run -- afl build --examples -vv + run: cargo run --features=${{ matrix.features }} -- afl build --examples -vv - name: Run tests - run: cargo test -p cargo-afl -vv + run: cargo test --features=${{ matrix.features }} -p cargo-afl -vv all-checks: needs: [lint, build] runs-on: ubuntu-latest