-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Related-to: TOR-3521 Signed-off-by: Leonardo Held <[email protected]>
- Loading branch information
1 parent
1ef9c32
commit f655d9c
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Build Debian Package | ||
|
||
on: push | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Rust | ||
uses: dtolnay/rust-toolchain@stable | ||
|
||
- name: Build main project | ||
run: cargo build --release | ||
|
||
- name: Run main project | ||
run: cargo run --release | ||
|
||
- name: Build and test examples | ||
run: | | ||
cargo build --examples | ||
cargo run --example mock_dbus_client | ||
- name: Run tests | ||
run: cargo test |