Merge pull request #164 from emit-rs/docs/readme #602
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: term | |
on: [push, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | |
- name: Install Rust toolchain | |
run: rustup default nightly | |
- name: Install cargo-hack | |
run: cargo install cargo-hack | |
- name: All | |
working-directory: ./emitter/term | |
run: cargo test --all-features | |
- name: Docs | |
working-directory: ./emitter/term | |
run: cargo doc --all-features | |
- name: Build powerset | |
working-directory: ./emitter/term | |
run: cargo hack build --feature-powerset --lib | |
- name: Test powerset | |
working-directory: ./emitter/term | |
run: cargo hack test --feature-powerset --lib | |
- name: Minimal versions | |
working-directory: ./emitter/term | |
run: cargo hack test --feature-powerset --lib -Z minimal-versions |