only test cli_app on non linux platforms
This commit is contained in:
4
.github/workflows/rust.yml
vendored
4
.github/workflows/rust.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
||||
- name: Build
|
||||
run: cargo build --verbose --bin cli_app
|
||||
- name: test
|
||||
run: cargo test
|
||||
run: cargo test --bin cli_app
|
||||
|
||||
build-windows:
|
||||
runs-on: windows-latest
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
- name: Build
|
||||
run: cargo build --verbose --bin cli_app
|
||||
- name: test
|
||||
run: cargo test
|
||||
run: cargo test --bin cli_app
|
||||
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -9,5 +9,5 @@ edition = "2021"
|
||||
hidapi = "2.3.3"
|
||||
thiserror = "1.0.40"
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
ksni = "0.2.0"
|
||||
Reference in New Issue
Block a user