Skip to content

Commit

Permalink
CI: install systemd to satisfy libudev-sys crate dependency on libudev
Browse files Browse the repository at this point in the history
  • Loading branch information
Antikyth committed Nov 18, 2023
1 parent 6e4748b commit d8ba513
Showing 1 changed file with 30 additions and 3 deletions.
33 changes: 30 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ jobs:
- name: Checkout AquariWM
uses: actions/checkout@v3

# Install `systemd` to satisfy `libudev-sys` dependency on `libudev` (which is provided
# by `systemd`).
- name: Install systemd
run: |
sudo apt-get update
sudo apt-get install systemd
# Install the latest nightly release of the Rust toolchain.
- name: Install latest nightly
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -106,6 +113,13 @@ jobs:
with:
ref: ${{ needs.fix-n-format.outputs.commit-id }}

# Install `systemd` to satisfy `libudev-sys` dependency on `libudev` (which is provided
# by `systemd`).
- name: Install systemd
run: |
sudo apt-get update
sudo apt-get install systemd
# Install the latest nightly release of the Rust toolchain.
- name: Install latest nightly
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -141,6 +155,13 @@ jobs:
with:
ref: ${{ needs.fix-n-format.outputs.commit-id }}

# Install `systemd` to satisfy `libudev-sys` dependency on `libudev` (which is provided
# by `systemd`).
- name: Install systemd
run: |
sudo apt-get update
sudo apt-get install systemd
# Install the latest nightly release of the Rust toolchain.
- name: Install latest nightly
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -171,15 +192,21 @@ jobs:
if: success() || failure()

steps:
# Check out (a.k.a. clones) the AquariWM repository with fixes made by `clippy`
# in `clippy-fixes`, if any, and formatting made by `rustfmt` in
# `auto-format`, if any.
# Check out (a.k.a. clones) the AquariWM repository with fixes made by `clippy` in
# `clippy-fixes`, if any, and formatting made by `rustfmt` in `auto-format`, if any.
- name: Checkout AquariWM
uses: actions/checkout@v3
with:
ref: ${{ needs.fix-n-format.outputs.commit-id }}
path: aquariwm

# Install `systemd` to satisfy `libudev-sys` dependency on `libudev` (which is provided
# by `systemd`).
- name: Install systemd
run: |
sudo apt-get update
sudo apt-get install systemd
# Check out a template to put the generated docs in.
- name: Checkout AquariWM docs template
uses: actions/checkout@v3
Expand Down

0 comments on commit d8ba513

Please sign in to comment.