merged build steps
This commit is contained in:
parent
f4284bbdc0
commit
72a947a831
60
.github/workflows/build_and_test.yml
vendored
60
.github/workflows/build_and_test.yml
vendored
@ -8,14 +8,32 @@ env:
|
|||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
default:
|
ubuntu:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Build
|
- name: Default Build
|
||||||
run: cargo build --verbose
|
run: cargo build --verbose
|
||||||
- name: Test
|
- name: Default Test
|
||||||
run: cargo test --verbose
|
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:
|
windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
@ -24,39 +42,3 @@ jobs:
|
|||||||
run: cargo build --verbose
|
run: cargo build --verbose
|
||||||
- name: Windows Test
|
- name: Windows Test
|
||||||
run: cargo test --verbose
|
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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user