only build cli_app on windows and macos install dependencies on linux.

This commit is contained in:
Lennard Kittner
2023-06-13 11:10:19 +02:00
parent 24849653d1
commit 0791c24d80

View File

@@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
run: cargo build --verbose --bin cli_app
- name: Run CLI
run: cargo run --bin cli_app
@@ -25,7 +25,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
run: cargo build --verbose --bin cli_app
- name: Run CLI
run: cargo run --bin cli_app
@@ -33,6 +33,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: sudo apt update && sudo apt install -y libdbus-1-dev
- name: Build
run: cargo build --verbose
- name: Run CLI