From f6f493a99809b546b40fc29f55b04e2e3e206e86 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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f0286d17..3fc16dd1 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,7 @@ jobs: cross: false, command: "test", args: "--all --tests", + setup: "sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev" } steps: @@ -132,6 +135,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 }}