Skip to content

Commit

Permalink
[ci] install missing libudev dependency
Browse files Browse the repository at this point in the history
This adds the libudev-dev package to the Build, Clippy and Test jobs.
  • Loading branch information
ajanon committed May 28, 2023
1 parent cdbb379 commit 8063cd3
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ jobs:
uses: actions/checkout@v2

- name: Build
run: cargo build --release
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends libudev-dev
cargo build --release
clippy:
runs-on: ubuntu-latest
Expand All @@ -24,7 +27,10 @@ jobs:
uses: actions/checkout@v2

- name: Clippy
run: cargo clippy
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends libudev-dev
cargo clippy
test:
runs-on: ubuntu-latest
Expand All @@ -34,7 +40,10 @@ jobs:
uses: actions/checkout@v2

- name: Run tests
run: cargo test --verbose
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends libudev-dev
cargo test --verbose
documentation:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8063cd3

Please sign in to comment.