Update README.md #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master"] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Clean | |
run: cargo clean | |
- name: Build | |
run: cargo build --verbose | |
- name: Clean again 1 | |
run: cargo clean | |
- name: Run tests | |
run: cargo test --verbose | |
- name: Clean again 2 | |
run: cargo clean | |
- name: Build without features | |
run: cargo build --no-default-features --verbose | |
- name: Clean again 3 | |
run: cargo clean | |
- name: Run tests without features | |
run: cargo test --no-default-features --verbose | |
- name: Clean again 4 | |
run: cargo clean | |
- name: Build all examples | |
run: cargo build --examples | |
- name: Clean again 5 | |
run: cargo clean | |
- name: Build all examples no default features | |
run: cargo build --examples --no-default-features | |