mirror of
https://github.com/danbulant/cushy
synced 2026-07-05 03:00:43 +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'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -y -qq
|
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 update
|
||||||
sudo apt-get install -y \
|
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
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
|
|
@ -31,6 +36,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cargo clippy --all-features --all-targets
|
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: |
|
run: |
|
||||||
cargo test --all-features --all-targets
|
cargo test --all-features --all-targets
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue