Skip to content

Commit 27cf7eb

Browse files
committed
install libudev1 on CI
1 parent 6e659e8 commit 27cf7eb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ jobs:
8585
cargo -V
8686
rustc -V
8787
88-
- name: Build
89-
shell: bash
88+
- run: sudo apt install -y libudev1
89+
- shell: bash
9090
run: $BUILD_CMD build --release --target=${{ matrix.job.target }}
9191

9292
- name: Set binary name & path

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
- uses: arduino/setup-task@v1
2323
with:
2424
repo-token: ${{ github.token }}
25+
- run: sudo apt install -y libudev1
2526
- run: task test
2627

2728
lint:
@@ -34,6 +35,7 @@ jobs:
3435
- uses: arduino/setup-task@v1
3536
with:
3637
repo-token: ${{ github.token }}
38+
- run: sudo apt install -y libudev1
3739
- run: task lint
3840

3941
markdownlint-cli:

0 commit comments

Comments
 (0)