Files
HyperHeadset/.github/workflows/rust.yml
lennard 5121e164df Removed windows from workflows.
Removed debug printing.
UnknownResponse now includes the length of the response.
Added new method for clearing the device state.
2023-06-14 12:31:00 +02:00

31 lines
673 B
YAML

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose --bin cli_app
- name: test
run: cargo test --bin cli_app
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: sudo apt update && sudo apt install -y libdbus-1-dev libhidapi-dev libusb-1.0-0-dev libudev-dev
- name: Build
run: cargo build --verbose
- name: test
run: cargo test