Update basic.yml workflow for Bevy 0.17

This thing has been broken since a48dfc1d65 (v0.5.0 + 1) when the game
was upgraded to Bevy 0.17. Install the libwayland-dev package to get the
CI runner building correctly again.

I also increased the artifact retention period to 7 days... I'm not sure
I actually want to keep any artifacts, but if I'm going to then I should
keep them long enough for me to go back and look at them.
This commit is contained in:
2025-12-25 23:32:33 -06:00
parent 172b528138
commit 16b118f37d

View File

@@ -18,7 +18,12 @@ jobs:
with: with:
components: rustfmt clippy components: rustfmt clippy
- name: Install system dependencies - name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends libasound2-dev libudev-dev run: >
sudo apt-get update &&
sudo apt-get install -y --no-install-recommends
libasound2-dev
libudev-dev
libwayland-dev
- name : cargo generate-lockfile - name : cargo generate-lockfile
if: hashFiles('Cargo.lock') == '' if: hashFiles('Cargo.lock') == ''
run: cargo generate-lockfile run: cargo generate-lockfile
@@ -41,6 +46,6 @@ jobs:
name: roberts-bad-asteroids-game name: roberts-bad-asteroids-game
path: target/release/asteroids path: target/release/asteroids
if-no-files-found: 'error' if-no-files-found: 'error'
retention-days: 1 retention-days: 7
compression-level: 9 compression-level: 9
overwrite: true overwrite: true