Skip to content

Commit

Permalink
Merge pull request #31 from matheuswhite/ci
Browse files Browse the repository at this point in the history
ci: add libudev dependency on linux
  • Loading branch information
matheuswhite authored Feb 8, 2024
2 parents fdb9af1 + 4b9b271 commit a3c4ff0
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,25 @@ env:
CARGO_TERM_COLOR: always

jobs:
build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
build-ubuntu:
name: Check on Ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install libudev-sys
run: sudo apt-get install -y libudev-dev
- name: Build
run: cargo build --verbose
build-windows:
name: Check on Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
build-macos:
name: Check on MacOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Build
Expand Down

0 comments on commit a3c4ff0

Please sign in to comment.