Skip to content

Use separate build trees for development/release. #315

Use separate build trees for development/release.

Use separate build trees for development/release. #315

Workflow file for this run

# Quickstart CI workflow
#
# This workflow installs latest stable Rust version
# and invokes these commands in parallel:
#
# * `cargo check`
# * `cargo test`
# * [`cargo fmt`](https://github.com/rust-lang/rustfmt)
# * [`cargo clippy`](https://github.com/rust-lang/rust-clippy)
on: [push, pull_request]
name: Continuous integration
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo check --workspace --all-features
build:
name: Build (stable)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo build --workspace --all-features
test:
name: Test Suite (Rust stable)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --workspace --all-features
fmt:
name: Rustfmt (stable)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo fmt --all --check
clippy:
name: Clippy (stable)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo clippy --workspace -- -D warnings