Skip to content

Commit

Permalink
Fix missing gtk in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
matthunz committed Jun 20, 2024
1 parent e32d2f2 commit f6f493a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,20 +89,23 @@ jobs:
cross: false,
command: "test",
args: "--all --tests",
setup: ""
}
- {
target: x86_64-apple-darwin,
os: macos-latest,
cross: false,
command: "test",
args: "--all --tests",
setup: ""
}
- {
target: x86_64-unknown-linux-gnu,
os: ubuntu-latest,
cross: false,
command: "test",
args: "--all --tests",
setup: "sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev"
}

steps:
Expand Down Expand Up @@ -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 }}

0 comments on commit f6f493a

Please sign in to comment.