fix ci: linter gui
This commit is contained in:
parent
edb4359087
commit
4489b05dda
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@ -58,7 +58,11 @@ jobs:
|
||||
- name: rustfmt
|
||||
run: cd gui && cargo fmt -- --check
|
||||
- name: clippy
|
||||
run: cargo clippy --all-features --all-targets -- -D warnings
|
||||
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
|
||||
&& cd gui
|
||||
&& cargo clippy --all-features --all-targets -- -D warnings
|
||||
|
||||
unit_tests_gui:
|
||||
needs: linter_gui
|
||||
@ -89,4 +93,8 @@ jobs:
|
||||
run: cd gui && cargo test --verbose --color always -- --nocapture
|
||||
- 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 && cd gui && cargo test --verbose --color always -- --nocapture
|
||||
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
|
||||
&& cd gui
|
||||
&& cargo test --verbose --color always -- --nocapture
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user