From 173248b4ddb99e5fa9ccddce1d348e5ca5bfc072 Mon Sep 17 00:00:00 2001 From: alefnull Date: Sat, 25 May 2024 21:13:14 -0400 Subject: [PATCH] add workflow command to install libx11-dev on ubuntu to try and fix build errors --- .github/workflows/cd.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index f5eca64..fedcd8b 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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: