Generic blackboard implementation #44
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 PR | |
on: | |
pull_request: | |
branches: [ main ] # run only when making a PR for main | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install libudev | |
run: sudo apt-get update && sudo apt-get install libudev-dev pkg-config librust-alsa-sys-dev | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
- uses: pre-commit/action@v2.0.3 | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install libudev | |
run: sudo apt-get update && sudo apt-get install libudev-dev pkg-config librust-alsa-sys-dev | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: cargo build --verbose | |
- name: Build examples | |
run: cargo build --examples | |
- name: Run tests | |
run: cargo test --verbose |