merged build steps

This commit is contained in:
Dominik Maier 2021-03-05 18:49:56 +01:00
parent f4284bbdc0
commit 72a947a831

View File

@ -8,14 +8,32 @@ env:
CARGO_TERM_COLOR: always
jobs:
default:
ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
- name: Default Build
run: cargo build --verbose
- name: Test
- name: Default Test
run: cargo test --verbose
- name: Build all features
run: cd libafl && cargo build --all-features --verbose
- name: Test all features
run: cd libafl && cargo test --all-features --verbose
- name: Build no_std
run: cd libafl && cargo build --no-default-features --verbose
- name: Test no_std
run: cd libafl && cargo test --no-default-features --verbose
- name: Build examples
run: cargo build --examples --verbose
- uses: actions/checkout@v2
- name: Format
run: cargo fmt -- --check
- uses: actions/checkout@v2
- name: Build Docs
run: cargo doc
- name: Test Docs
run: cargo test --doc
windows:
runs-on: windows-latest
steps:
@ -24,39 +42,3 @@ jobs:
run: cargo build --verbose
- name: Windows 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
- name: Test all features
run: cd libafl && 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
- name: Test no_std
run: cd libafl && cargo test --no-default-features --verbose
examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build examples
run: cargo build --examples --verbose
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Format
run: cargo fmt -- --check
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Docs
run: cargo doc
- name: Test Docs
run: cargo test --doc