Skip to content

Merge pull request #74 from matheuswhite/33-setup-serial #47

Merge pull request #74 from matheuswhite/33-setup-serial

Merge pull request #74 from matheuswhite/33-setup-serial #47

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build-ubuntu:
name: Check on Ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
- name: Install libudev-sys
run: sudo apt-get install -y libudev-dev
- name: Build
run: cargo +nightly build --release --verbose
build-windows:
name: Check on Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
- name: Build
run: cargo +nightly build --release --verbose
build-macos:
name: Check on MacOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
- name: Build
run: cargo +nightly build --release --verbose