From 3059cc3b4168a81d1000400a9faab1f22d6142bb Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Thu, 9 Jan 2025 16:53:57 +0100 Subject: [PATCH] Add missing dependency to CI GitHub updated its ubuntu-latest system and the new version apparently does not provide some of the dependencies that our cairo example needs. Fix this by installing the missing system packages. Signed-off-by: Uli Schlachter --- .github/workflows/CI.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7816214d..ac511a62 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -46,6 +46,8 @@ jobs: clippy-rustfmt: runs-on: ubuntu-latest steps: + - name: Install cairo-rs dependencies + run: sudo apt-get update && sudo apt-get install -y libglib2.0-dev libcairo2-dev - uses: actions/checkout@v4 - name: Install rustfmt and clippy uses: dtolnay/rust-toolchain@stable @@ -85,6 +87,8 @@ jobs: - rust: nightly steps: + - name: Install cairo-rs dependencies + run: sudo apt-get update && sudo apt-get install -y libglib2.0-dev libcairo2-dev - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@master with: