Skip to content

Commit

Permalink
update ci action to install bevy dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Schmarni <[email protected]>
  • Loading branch information
Schmarni-Dev committed Sep 29, 2024
1 parent 8c37ad7 commit 1d0bf76
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 1d0bf76

Please sign in to comment.