Skip to content

Commit

Permalink
Add CI workflow
Browse files Browse the repository at this point in the history
Related-to: TOR-3521

Signed-off-by: Leonardo Held <[email protected]>
  • Loading branch information
leonheldattoradex committed Aug 20, 2024
1 parent 1ef9c32 commit f655d9c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
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

0 comments on commit f655d9c

Please sign in to comment.