Skip to content

Commit

Permalink
CI: add pkg-config to PKG_CONFIG_PATH to attempt to satisfy libudev dep
Browse files Browse the repository at this point in the history
  • Loading branch information
Antikyth committed Nov 18, 2023
1 parent d8ba513 commit 66bab86
Showing 1 changed file with 16 additions and 20 deletions.
36 changes: 16 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ 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
# Add the `pkg-config` path to `PKG_CONFIG_PATH` so `libudev-sys` can find `libudev`.
- name: Add Ubuntu pkg-config path to PKG_CONFIG_PATH
run: |
sudo apt-get update
sudo apt-get install systemd
echo 'export PKG_CONFIG_PATH="/usr/lib/x86-64-linux-gnu/pkgconfig/"' >> $HOME/.bashrc
source $HOME/.bashrc
# Install the latest nightly release of the Rust toolchain.
- name: Install latest nightly
Expand Down Expand Up @@ -113,12 +112,11 @@ 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
# Add the `pkg-config` path to `PKG_CONFIG_PATH` so `libudev-sys` can find `libudev`.
- name: Add Ubuntu pkg-config path to PKG_CONFIG_PATH
run: |
sudo apt-get update
sudo apt-get install systemd
echo 'export PKG_CONFIG_PATH="/usr/lib/x86-64-linux-gnu/pkgconfig/"' >> $HOME/.bashrc
source $HOME/.bashrc
# Install the latest nightly release of the Rust toolchain.
- name: Install latest nightly
Expand Down Expand Up @@ -155,12 +153,11 @@ 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
# Add the `pkg-config` path to `PKG_CONFIG_PATH` so `libudev-sys` can find `libudev`.
- name: Add Ubuntu pkg-config path to PKG_CONFIG_PATH
run: |
sudo apt-get update
sudo apt-get install systemd
echo 'export PKG_CONFIG_PATH="/usr/lib/x86-64-linux-gnu/pkgconfig/"' >> $HOME/.bashrc
source $HOME/.bashrc
# Install the latest nightly release of the Rust toolchain.
- name: Install latest nightly
Expand Down Expand Up @@ -200,12 +197,11 @@ jobs:
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
# Add the `pkg-config` path to `PKG_CONFIG_PATH` so `libudev-sys` can find `libudev`.
- name: Add Ubuntu pkg-config path to PKG_CONFIG_PATH
run: |
sudo apt-get update
sudo apt-get install systemd
echo 'export PKG_CONFIG_PATH="/usr/lib/x86-64-linux-gnu/pkgconfig/"' >> $HOME/.bashrc
source $HOME/.bashrc
# Check out a template to put the generated docs in.
- name: Checkout AquariWM docs template
Expand Down

0 comments on commit 66bab86

Please sign in to comment.