From 8063cd375974c1851b2d36a5da4e9c54fd4d9f3b Mon Sep 17 00:00:00 2001 From: Alexis Janon <98706738+ajanon@users.noreply.github.com> Date: Sun, 28 May 2023 14:08:43 +0200 Subject: [PATCH] [ci] install missing libudev dependency This adds the libudev-dev package to the Build, Clippy and Test jobs. --- .github/workflows/ci.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36761d2..caeef82 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 @@ -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