mirror of
https://github.com/danbulant/cushy
synced 2026-06-17 05:21:17 +00:00
Switching wgpu dependencies
This now matches the current CI config on wgpu's repository.
This commit is contained in:
parent
5a56833cd0
commit
2e2d45d281
1 changed files with 12 additions and 3 deletions
15
.github/workflows/rust.yml
vendored
15
.github/workflows/rust.yml
vendored
|
|
@ -17,10 +17,15 @@ jobs:
|
|||
if: matrix.os == 'ubuntu-latest'
|
||||
run: |
|
||||
sudo apt-get update -y -qq
|
||||
sudo add-apt-repository ppa:oibaf/graphics-drivers -y
|
||||
|
||||
# vulkan sdk
|
||||
wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
|
||||
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-jammy.list https://packages.lunarg.com/vulkan/lunarg-vulkan-jammy.list
|
||||
|
||||
# install dependencies
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y \
|
||||
libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
|
||||
libegl-mesa0 libgl1-mesa-dri libxcb-xfixes0-dev vulkan-sdk mesa-vulkan-drivers
|
||||
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
|
|
@ -31,6 +36,10 @@ jobs:
|
|||
run: |
|
||||
cargo clippy --all-features --all-targets
|
||||
|
||||
- name: Run default features unit tests
|
||||
- name: Compile with all features
|
||||
run: |
|
||||
cargo build --all-features --all-targets
|
||||
|
||||
- name: Run all features unit tests
|
||||
run: |
|
||||
cargo test --all-features --all-targets
|
||||
|
|
|
|||
Loading…
Reference in a new issue