Skip to content

Commit

Permalink
Enable wayland feature for bevy in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
teohhanhui committed Sep 3, 2024
1 parent ac311b0 commit e4e8c03
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable

- name: Install Linux dependencies
run: sudo apt-get install libwayland-dev libxkbcommon-dev

- name: Run cargo check
run: cargo check --all-targets

Expand Down Expand Up @@ -53,6 +56,9 @@ jobs:
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable

- name: Install Linux dependencies
run: sudo apt-get install libwayland-dev libxkbcommon-dev

- name: Build examples
run: cargo build --examples

Expand All @@ -77,5 +83,9 @@ jobs:
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable

- name: Install Linux dependencies
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt-get install libwayland-dev libxkbcommon-dev

- name: Run cargo test
run: cargo test
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ features = [
"png",
"ktx2",
"bevy_winit",
"wayland",
"x11",
"bevy_text",
"bevy_sprite",
Expand Down

0 comments on commit e4e8c03

Please sign in to comment.