fix ci: gui dependencies

This commit is contained in:
edouard 2022-11-22 18:27:56 +01:00
parent ce259cd59f
commit e09b71b5d8
2 changed files with 4 additions and 5 deletions

View File

@ -59,8 +59,8 @@ jobs:
run: cd gui && cargo fmt -- --check
- name: clippy
run: |
sudo apt-get update &
sudo apt-get install --allow-downgrades libudev1=245.4-4ubuntu3 libudev-dev=245.4-4ubuntu3 pkg-config libxkbcommon-dev libvulkan-dev &&
sudo apt-get update &&
sudo apt-get install --allow-downgrades libudev-dev pkg-config libvulkan-dev &&
cd gui &&
cargo clippy --all-features --all-targets -- -D warnings
@ -94,7 +94,7 @@ jobs:
- name: Test on Rust ${{ matrix.toolchain }} (non Windows)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update &
sudo apt-get install --allow-downgrades libudev1=245.4-4ubuntu3 libudev-dev=245.4-4ubuntu3 pkg-config libxkbcommon-dev libvulkan-dev &&
sudo apt-get update &&
sudo apt-get install --allow-downgrades libudev-dev pkg-config libvulkan-dev &&
cd gui &&
cargo test --verbose --color always -- --nocapture

View File

@ -7,7 +7,6 @@ Liana GUI is an user graphical interface written in rust for the
- `fontconfig` (On Debian/Ubuntu `apt install libfontconfig1-dev`)
- [`pkg-config`](https://www.freedesktop.org/wiki/Software/pkg-config/) (On Debian/Ubuntu `apt install pkg-config`)
- [`libxkbcommon`](https://xkbcommon.org/) for the dummy signer (On Debian/Ubuntu `apt install libxkbcommon-dev`)
- Vulkan drivers (On Debian/Ubuntu `apt install mesa-vulkan-drivers libvulkan-dev`)
- `libudev-dev` (On Debian/Ubuntu `apt install libudev-dev`)