Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:
run: |
rustup update --no-self-update
rustc --version
- name: Install midenup and stable compiler components
run: |
cargo install --locked midenup && midenup init && midenup install 0.16.0 && miden midenc --version
echo "$(midenup show home)/opt" >> "$GITHUB_PATH"
- name: Run integration tests
working-directory: integration
run: cargo test
run: |
cargo test
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ local-node-data/
# Ignore contract build artifacts
contracts/**/target/

# Contract crates are cdylib libraries: they do not ship a lockfile, matching the
# single-contract templates. A committed lockfile here can only go stale against the
# SDK requirement in their manifests.
contracts/**/Cargo.lock

# cargo-miden writes the compiled package here when tests build contracts
# from the integration crate's working directory
integration/target/
Expand Down
5 changes: 5 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ Contracts are built individually with cargo-miden (not `cargo build`):
cargo miden build --manifest-path contracts/<name>/Cargo.toml --release
```

Each contract has a thin `build.rs` that calls `miden-sdk-build-script-support` to populate the
Miden package cache, so plain `cargo check` and IDE analysis resolve dependency packages without
a manual `cargo miden build` first. The helper needs `cargo miden` on `PATH` (or a binary named
by the `CARGO_MIDEN` environment variable).

Tests run via the workspace:
```
cargo test -p integration --release
Expand Down
Loading
Loading