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)