Skip to content

Commit

Permalink
Fix headless CI (#534)
Browse files Browse the repository at this point in the history
* Fix?

* test

* Close after 500ms

* Revert "Close after 500ms"

This reverts commit c1acdc6.

* Revert "test"

This reverts commit 84898d9.

* Second try

* Fix check

* Update rust.yml

* Revert "Update rust.yml"

This reverts commit 088dd6f.
  • Loading branch information
asny authored Jan 30, 2025
1 parent 10e340d commit ab705de
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
components: rustfmt, clippy
override: true

- if: startsWith(matrix.os, 'ubuntu')
run: sudo apt-get update && sudo apt-get install -y libfontconfig1-dev

- name: Check
uses: actions-rs/cargo@v1
with:
Expand Down Expand Up @@ -83,6 +86,6 @@ jobs:
toolchain: stable
override: true

- run: sudo apt-get update && sudo apt-get install -y xvfb
- run: sudo apt-get update && sudo apt-get install -y xvfb libfontconfig1-dev

- run: xvfb-run -a cargo run --example headless --features="headless"

0 comments on commit ab705de

Please sign in to comment.