From 4ba3bab5ca1ac2a68255167d1482f880f7bacb2f Mon Sep 17 00:00:00 2001 From: Santiago Date: Wed, 20 May 2026 09:24:26 -0300 Subject: [PATCH 1/2] ci: add minimal build/test pipeline Adds a CI workflow running build and test jobs on pull_request and push to main, per the UTxO RPC umbrella SDK CI requirements. --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c3776c2 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: CI +on: + pull_request: + branches: [main] + push: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - uses: Swatinem/rust-cache@v2 + - run: cargo build --workspace --all-targets + + test: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - uses: Swatinem/rust-cache@v2 + # utxorpc-tests is an integration suite needing a live server on :50051; + # it is compiled by the build job but not executed here. + - run: cargo test -p utxorpc From 737cf7d98465c3d2d150c9e938734efb5ed0bc71 Mon Sep 17 00:00:00 2001 From: Santiago Date: Wed, 20 May 2026 09:50:55 -0300 Subject: [PATCH 2/2] ci: build only the SDK crate, exclude utxorpc-tests utxorpc-tests is a live-server integration crate currently stale against spec 0.19.0; scope the build/test jobs to the utxorpc crate. --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3776c2..83aab13 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,10 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - - run: cargo build --workspace --all-targets + # Build only the SDK crate. utxorpc-tests is a separate workspace member + # (live-server integration suite, currently stale vs the spec) and is + # excluded from CI. + - run: cargo build -p utxorpc --all-targets test: needs: build @@ -21,6 +24,5 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - # utxorpc-tests is an integration suite needing a live server on :50051; - # it is compiled by the build job but not executed here. + # Only the SDK crate's tests run here; utxorpc-tests is excluded (see build). - run: cargo test -p utxorpc