Skip to content

Commit c9a2dbe

Browse files
committed
Enable wayland feature for bevy in dev
1 parent ac311b0 commit c9a2dbe

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
- name: Install stable toolchain
2020
uses: dtolnay/rust-toolchain@stable
2121

22+
- name: Install Linux dependencies
23+
run: sudo apt-get install --no-install-recommends libwayland-dev libxkbcommon-dev
24+
2225
- name: Run cargo check
2326
run: cargo check --all-targets
2427

@@ -53,6 +56,9 @@ jobs:
5356
- name: Install stable toolchain
5457
uses: dtolnay/rust-toolchain@stable
5558

59+
- name: Install Linux dependencies
60+
run: sudo apt-get install --no-install-recommends libwayland-dev libxkbcommon-dev
61+
5662
- name: Build examples
5763
run: cargo build --examples
5864

@@ -77,5 +83,9 @@ jobs:
7783
- name: Install stable toolchain
7884
uses: dtolnay/rust-toolchain@stable
7985

86+
- name: Install Linux dependencies
87+
if: ${{ matrix.os == 'ubuntu-latest' }}
88+
run: sudo apt-get install --no-install-recommends libwayland-dev libxkbcommon-dev
89+
8090
- name: Run cargo test
8191
run: cargo test

.github/workflows/code_quality.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,8 @@ jobs:
3535
with:
3636
components: clippy
3737

38+
- name: Install Linux dependencies
39+
run: sudo apt-get install --no-install-recommends libwayland-dev libxkbcommon-dev
40+
3841
- name: Run cargo clippy
3942
run: cargo clippy --no-deps --examples -- -D warnings

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ features = [
6161
"png",
6262
"ktx2",
6363
"bevy_winit",
64+
"wayland",
6465
"x11",
6566
"bevy_text",
6667
"bevy_sprite",

0 commit comments

Comments
 (0)