update version #129
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: Tests | |
on: | |
pull_request: | |
branches: | |
- '!release-plz-*' | |
push: | |
branches: ["main"] | |
env: | |
CARGO_TERM_COLOR: always | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
tests-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dependencies | |
run: sudo apt-get update && sudo apt-get install g++ pkg-config libx11-dev libasound2-dev libudev-dev clang lld | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-unit-tests-${{ hashFiles('**/Cargo.toml') }} | |
- name: CI job | |
run: | | |
cargo build --examples --features hot | |
cargo install --path ./dexterous_developer_cli | |
cargo test | |
tests-mac: | |
runs-on: mac-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-unit-tests-${{ hashFiles('**/Cargo.toml') }} | |
- name: CI job | |
run: | | |
cargo build --examples --features hot | |
cargo install --path ./dexterous_developer_cli | |
cargo test | |
tests-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-unit-tests-${{ hashFiles('**/Cargo.toml') }} | |
- name: CI job | |
run: | | |
cargo build --examples --features hot | |
cargo install --path ./dexterous_developer_cli | |
cargo test | |