From f6e57b759e3fb47293e386462eb311385edd70a9 Mon Sep 17 00:00:00 2001 From: funman300 Date: Mon, 6 Jul 2026 16:28:28 -0700 Subject: [PATCH] ci: pin toolchain to 1.95.0 and install Bevy native deps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Review feedback on #135: floating 'stable' + -D warnings lets every new clippy release redden master with new lints — pin 1.95.0 like the web-wasm-rebuild workflow. And ubuntu-latest lacks the ALSA/udev/X11/ Wayland dev packages the Bevy crates link against; install the standard Bevy CI set (the project's own builder images have no desktop-Bevy precedent — android-builder targets the NDK and web-e2e only builds the server). Co-Authored-By: Claude Fable 5 --- .gitea/workflows/test.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index ccaf04b..0593e8e 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -35,14 +35,24 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Install Rust - uses: dtolnay/rust-toolchain@stable + - name: Install Rust 1.95.0 + uses: dtolnay/rust-toolchain@master with: + toolchain: 1.95.0 components: clippy - name: Cache cargo build uses: Swatinem/rust-cache@v2 + # Native link deps for the Bevy crates (engine/app/web) on a bare + # ubuntu runner: ALSA + udev for input/audio, X11 + Wayland for winit. + - name: Install Bevy native dependencies + run: | + sudo apt-get update + sudo apt-get install -y --no-install-recommends \ + libasound2-dev libudev-dev pkg-config libx11-dev libxcursor-dev \ + libxrandr-dev libxi-dev libwayland-dev libxkbcommon-dev + # SQLX_OFFLINE uses the checked-in `.sqlx/` query cache (no live DB), # same as the web-e2e workflow's server prebuild. - name: Clippy (deny warnings)