fix triplet #90
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
on: [push] | |
name: Rust | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Build Deps | |
run: sudo apt install libusb-1.0-0-dev | |
- name: setup pkg-config | |
run: export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig | |
- name: Install Latest Nightly | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
override: true | |
- name: Run Cargo Build | |
run: cargo build --release --all-features | |
clippy_check: | |
name: Clippy Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install Build Deps | |
run: sudo apt install libusb-1.0-0-dev | |
- name: setup pkg-config | |
run: export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
components: clippy | |
override: true | |
- uses: actions-rs/clippy-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --all-features |