15 lines
435 B
YAML
15 lines
435 B
YAML
|
on: [push, pull_request]
|
||
|
|
||
|
name: Continuous integration
|
||
|
|
||
|
jobs:
|
||
|
build_and_test:
|
||
|
name: Build and test
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- run: apt update
|
||
|
- run: apt install libasound2-dev libdbus-1-dev libpulse0 -y
|
||
|
- uses: actions/checkout@v4
|
||
|
- uses: https://github.com/dtolnay/rust-toolchain@stable
|
||
|
- run: cargo build --verbose --all-features
|
||
|
- run: cargo test --verbose --all-features
|