Skip to content

Commit

Permalink
Merge pull request #556 from teohhanhui/enable/wayland-in-dev
Browse files Browse the repository at this point in the history
Enable `wayland` feature for `bevy` in dev
  • Loading branch information
ChristopherBiscardi committed Sep 16, 2024
2 parents 42b74a3 + c9a2dbe commit 7ebe37b
Show file tree
Hide file tree
Showing 3 changed files with 14 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 --no-install-recommends 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 --no-install-recommends 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 --no-install-recommends libwayland-dev libxkbcommon-dev

- name: Run cargo test
run: cargo test
3 changes: 3 additions & 0 deletions .github/workflows/code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,8 @@ jobs:
with:
components: clippy

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

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

0 comments on commit 7ebe37b

Please sign in to comment.