Skip to content
Closed
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
pull_request:

env:
CARGO_TERM_COLOR: always

jobs:
check:
name: fmt + clippy + test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy

- uses: Swatinem/rust-cache@v2

- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y libdbus-1-dev pkg-config

- name: Check formatting
run: cargo fmt -- --check

- name: Clippy
run: cargo clippy --all-targets --keep-going -- -D warnings

- name: Run tests
run: cargo test --workspace --no-fail-fast
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ keyring = { version = "3.0" }
inherits = "release"
lto = "thin"

[[bin]]
name = "mock-probe-verus"
path = "tests/helpers/mock_probe_verus.rs"
test = false
doc = false
bench = false

[dev-dependencies]
tempfile = "3.24.0"

1 change: 0 additions & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ pub enum Commands {
/// Reclone repository after checking for uncommitted changes
Reclone,
// ===== Structure Commands (merged from verilib-structure) =====

/// Initialize structure files from source analysis
Create {
/// Project root directory (default: current working directory)
Expand Down
Loading