From b5da98f530968ed968f57841122cad5624ff6a85 Mon Sep 17 00:00:00 2001 From: Matt Hunzinger Date: Thu, 20 Jun 2024 15:10:55 -0400 Subject: [PATCH] Fix missing gtk in CI --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f0286d17..ccec2385 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -89,6 +89,7 @@ jobs: cross: false, command: "test", args: "--all --tests", + setup: "" } - { target: x86_64-apple-darwin, @@ -96,6 +97,7 @@ jobs: cross: false, command: "test", args: "--all --tests", + setup: "" } - { target: x86_64-unknown-linux-gnu, @@ -103,6 +105,13 @@ jobs: cross: false, command: "test", args: "--all --tests", + setup: "sudo apt-get update; sudo apt-get install --no-install-recommends \ + libasound2-dev \ + libatk1.0-dev \ + libgtk-3-dev \ + libudev-dev \ + libpango1.0-dev \ + libxdo-dev" } steps: @@ -132,6 +141,9 @@ jobs: cache-all-crates: "true" save-if: ${{ github.ref == 'refs/heads/main' }} + - name: Setup + run: ${{ matrix.platform.setup }} + - name: test run: | ${{ env.RUST_CARGO_COMMAND }} ${{ matrix.platform.command }} ${{ matrix.platform.args }} --target ${{ matrix.platform.target }}