From 6030d41e47c52dc784ce9710379c52dfd158abf2 Mon Sep 17 00:00:00 2001 From: Thorsten Ehlers Date: Sat, 4 Oct 2025 19:45:31 +0200 Subject: [PATCH] Upgrade to Bevy 0.17 and install dependency "libwayland-dev" With the inclusion of "wayland" in the default features since bevyengine/bevy#19232, "libwayland-dev" is required in the workflows. --- .github/workflows/ci.yaml | 4 ++-- .github/workflows/release.yaml | 2 +- Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4b694db..c0e0d51 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -31,7 +31,7 @@ jobs: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - name: Install Dependencies - run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev + run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev - name: Run cargo test run: cargo test @@ -58,7 +58,7 @@ jobs: with: components: clippy - name: Install Dependencies - run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev + run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev - name: Run clippy run: cargo clippy -- -D warnings diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5c0009a..76f44f3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -81,7 +81,7 @@ jobs: targets: x86_64-unknown-linux-gnu - name: install dependencies run: | - sudo apt-get update; sudo apt-get install pkg-config libx11-dev libasound2-dev libudev-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev + sudo apt-get update; sudo apt-get install pkg-config libx11-dev libasound2-dev libudev-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libwayland-dev - name: Build run: | diff --git a/Cargo.toml b/Cargo.toml index dc23978..8da9ce1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ opt-level = 1 opt-level = 3 [dependencies] -bevy = "0.16" +bevy = "0.17" # These lints may be important signals about code quality, but normal Bevy code # commonly triggers them and the CI workflow treats them as errors, so we've