From 484003e02e6ca686afcb25265a18ec450bcaa9ff Mon Sep 17 00:00:00 2001 From: Antikyth <104020300+Antikyth@users.noreply.github.com> Date: Sat, 18 Nov 2023 15:19:58 +1300 Subject: [PATCH] CI: install libudev-dev to satisfy libudev-sys dependency --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27beda94..d17cc0bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,6 +41,12 @@ jobs: - name: Checkout AquariWM uses: actions/checkout@v3 + # Install `libudev-dev` to satisfy the `libudev-sys` crate's `libudev` dependency. + - name: Install libudev-dev + run: | + sudo apt-get update + sudo apt-get install libudev-dev + # Install the latest nightly release of the Rust toolchain. - name: Install latest nightly uses: actions-rs/toolchain@v1 @@ -106,6 +112,12 @@ jobs: with: ref: ${{ needs.fix-n-format.outputs.commit-id }} + # Install `libudev-dev` to satisfy the `libudev-sys` crate's `libudev` dependency. + - name: Install libudev-dev + run: | + sudo apt-get update + sudo apt-get install libudev-dev + # Install the latest nightly release of the Rust toolchain. - name: Install latest nightly uses: actions-rs/toolchain@v1 @@ -141,6 +153,12 @@ jobs: with: ref: ${{ needs.fix-n-format.outputs.commit-id }} + # Install `libudev-dev` to satisfy the `libudev-sys` crate's `libudev` dependency. + - name: Install libudev-dev + run: | + sudo apt-get update + sudo apt-get install libudev-dev + # Install the latest nightly release of the Rust toolchain. - name: Install latest nightly uses: actions-rs/toolchain@v1 @@ -179,6 +197,12 @@ jobs: ref: ${{ needs.fix-n-format.outputs.commit-id }} path: aquariwm + # Install `libudev-dev` to satisfy the `libudev-sys` crate's `libudev` dependency. + - name: Install libudev-dev + run: | + sudo apt-get update + sudo apt-get install libudev-dev + # Check out a template to put the generated docs in. - name: Checkout AquariWM docs template uses: actions/checkout@v3