From 1d0bf76a029468b476e7eac4cd9a61c9a9dec299 Mon Sep 17 00:00:00 2001 From: Schmarni Date: Sun, 29 Sep 2024 21:34:20 +0200 Subject: [PATCH] update ci action to install bevy dependencies Signed-off-by: Schmarni --- .github/workflows/ci.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d18f1ad..fd934a0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,9 +23,12 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 + - name: Install bevy dependencies + run: | + sudo apt-get update && sudo apt-get install -y \ + g++ pkg-config libx11-dev libasound2-dev libudev-dev libopenxr-loader1 libopenxr-dev - name: Cache cargo dependencies uses: Swatinem/rust-cache@v2 - - name: Clippy lints run: cargo clippy --all --all-features --all-targets --no-deps -- -D warnings @@ -37,6 +40,10 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 + - name: Install bevy dependencies + run: | + sudo apt-get update && sudo apt-get install -y \ + g++ pkg-config libx11-dev libasound2-dev libudev-dev libopenxr-loader1 libopenxr-dev - name: Cache cargo dependencies uses: Swatinem/rust-cache@v2