picoKontroller/.forgejo/workflows/rust.yml

18 lines
413 B
YAML
Raw Normal View History

2024-12-20 23:43:04 +01:00
on: [push, pull_request]
name: Continuous integration
2024-12-20 23:28:35 +01:00
2024-12-20 23:54:59 +01:00
jobs:
2024-12-21 00:28:15 +01:00
setup:
2024-12-21 00:28:03 +01:00
name: Setup
2024-12-20 23:52:59 +01:00
runs-on: ubuntu-latest
2024-12-20 23:28:35 +01:00
steps:
2024-12-21 00:20:43 +01:00
- run: apt update
2024-12-21 00:26:12 +01:00
- run: apt install libasound2-dev libdbus-1-dev libpulse0 -y
2024-12-21 00:14:46 +01:00
- uses: actions/checkout@v4
2024-12-21 00:12:08 +01:00
- uses: https://github.com/dtolnay/rust-toolchain@stable
2024-12-21 00:28:03 +01:00
test:
name: Build
runs-on: ubuntu-latest
steps:
2024-12-21 00:12:08 +01:00
- run: cargo test --all-features