Skip to content

Commit

Permalink
add workflow command to install libx11-dev on ubuntu to try and fix b…
Browse files Browse the repository at this point in the history
…uild errors
  • Loading branch information
alefnull committed May 26, 2024
1 parent 38f49ce commit 173248b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ jobs:
profile: minimal
override: true
- uses: Swatinem/rust-cache@v2
- name: Install x11 to try and fix build error
shell: bash
run: |
if [[ ${{ runner.os }} == 'Linux' ]]; then
sudo apt update
sudo apt install -y libx11-dev
fi
- name: Cargo build
uses: actions-rs/cargo@v1
with:
Expand Down

0 comments on commit 173248b

Please sign in to comment.