Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
  • Loading branch information
sagudev committed Nov 23, 2024
1 parent 71e02ae commit c8aa1b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
if: startsWith(matrix.platform.os, 'ubuntu')
run: |
sudo apt update
sudo apt install gcc libxxf86vm-dev libosmesa6-dev libgles2-mesa-dev -y
sudo apt install gcc libxxf86vm-dev libosmesa6-dev libgles2-mesa-dev weston -y
- name: Install rust
id: toolchain
uses: dtolnay/rust-toolchain@stable
Expand All @@ -70,7 +70,12 @@ jobs:
rustup target add ${{ matrix.platform.target }}
cargo build --features "${{ matrix.features }}" --target ${{ matrix.platform.target }}
- name: Test
if: ${{ matrix.platform.test }}
if: ${{ matrix.platform.test && startsWith(matrix.platform.os, 'ubuntu') }}
run: |
weston --no-config --socket=wl-test-env --backend=headless &
WAYLAND_DISPLAY=wl-test-env cargo test --features "${{ matrix.features }}" --target ${{ matrix.platform.target }}
- name: Test
if: ${{ matrix.platform.test && !startsWith(matrix.platform.os, 'ubuntu') }}
run: |
cargo test --features "${{ matrix.features }}" --target ${{ matrix.platform.target }}
Format:
Expand Down
2 changes: 1 addition & 1 deletion examples/threads.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ use winit::{
#[cfg(feature = "sm-raw-window-handle-05")]
use rwh_05::{HasRawDisplayHandle, HasRawWindowHandle};
#[cfg(not(feature = "sm-raw-window-handle-05"))]
use rwh_06::{HasDisplayHandle, HasRawWindowHandle, HasWindowHandle};
use rwh_06::{HasDisplayHandle, HasRawDisplayHandle, HasRawWindowHandle, HasWindowHandle};

pub mod common;

Expand Down

0 comments on commit c8aa1b5

Please sign in to comment.