This repository has been archived by the owner on Mar 26, 2024. It is now read-only.
Add nusb support. #75
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: CI | |
on: | |
push: | |
branches: | |
- master | |
- staging | |
- trying | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- macOS-latest | |
- windows-latest | |
runs-on: ${{ matrix.os }} | |
env: | |
RUSTFLAGS: "--deny warnings" | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Run Tests | |
run: cargo test --verbose --features rusb | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Check code formatting | |
run: cargo fmt -- --check | |
- name: Run Clippy rusb | |
run: cargo clippy --features rusb | |
- name: Run Clippy nusb | |
run: cargo clippy --features nusb |