From 3948beb49793fb73f3355383d0f950df00db7864 Mon Sep 17 00:00:00 2001 From: Samuel Moelius Date: Wed, 18 Oct 2023 05:32:01 -0400 Subject: [PATCH] Test cmplog in CI --- .github/workflows/rust.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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