Skip to content

Commit 3e0d0be

Browse files
committed
feat(hwi): add libudev-sys dep to workflows
- async-hwi requires libudev-sys for linux systems
1 parent 696db18 commit 3e0d0be

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/code_coverage.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ jobs:
1616
uses: actions/checkout@v4
1717
with:
1818
persist-credentials: false
19-
- name: Install lcov tools
20-
run: sudo apt-get install lcov -y
19+
- name: Install system dependencies
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install -y libudev-dev libusb-1.0-0-dev lcov
2123
- name: Install Rust toolchain
2224
uses: actions-rs/toolchain@v1
2325
with:

.github/workflows/cont_integration.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v4
21+
# hwi (async-hwi) depends on libudev-sys
22+
- name: Install system dependencies
23+
run: |
24+
sudo apt-get update
25+
sudo apt-get install -y libudev-dev libusb-1.0-0-dev
2126
- name: Generate cache key
2227
run: echo "${{ matrix.rust }} ${{ matrix.features }}" | tee .cache_key
2328
- name: Cache

0 commit comments

Comments
 (0)