Files
gk1000-controller/.github/workflows/rust.yml
T

28 lines
508 B
YAML

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: self-hosted
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libudev-dev pkg-config
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose --all-features
- name: Run tests
run: cargo test --verbose --all-features