From 9fe8aee48b2c5667c3c10eb4fdea1b5246e8033d Mon Sep 17 00:00:00 2001 From: Dominik Maier Date: Fri, 26 Feb 2021 13:27:28 +0100 Subject: [PATCH] merged build tasks --- .github/workflows/build_and_test.yml | 30 +++++++++++----------------- 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index abae9c41db..330bd4c977 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -6,42 +6,36 @@ env: CARGO_TERM_COLOR: always jobs: - build: + default: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Build run: cargo build --verbose - all-features-build: + - name: Test + run: cargo test --verbose + all-features: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Build all features run: cd libafl && cargo build --all-features --verbose - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Test - run: cargo test --verbose - examples-build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Build examples - run: cargo build --examples --verbose - no-std-build: + - name: Test all features + run: cd liafbl && cargo test --all-features --verbose + no-std: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Build no_std run: cd libafl && cargo build --no-default-features --verbose - no-std-test: + - name: Test no_std + run: cd libafl && cargo test --no-default-features --verbose + examples: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Test no_std - run: cd libafl && cargo test --no-default-features --verbose + - name: Build examples + run: cargo build --examples --verbose fmt: runs-on: ubuntu-latest steps: