Skip to content

Commit

Permalink
added libudev-dev for test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
FroVolod committed Jan 25, 2024
1 parent 5d65af8 commit a3339e8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Install libudev-dev
run: |
sudo apt-get update
sudo apt-get install --assume-yes libudev-dev
- name: run cargo doc
run: RUSTDOCFLAGS="-D warnings" cargo doc

Expand All @@ -66,6 +70,10 @@ jobs:
- uses: Swatinem/rust-cache@v1
- name: Add wasm32 target
run: rustup target add wasm32-unknown-unknown
- name: Install libudev-dev
run: |
sudo apt-get update
sudo apt-get install --assume-yes libudev-dev
- name: Check with stable features
run: cargo check --verbose
- name: Run tests with unstable features
Expand All @@ -83,6 +91,9 @@ jobs:
token: ${{ secrets.MY_GITHUB_TOKEN }}
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install packages (Linux)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install --assume-yes libudev-dev
- name: Run release-plz
uses: MarcoIeni/[email protected]
env:
Expand Down

0 comments on commit a3339e8

Please sign in to comment.