Add dart publish workflow, prebuilt binary support, and README#1886
Open
crodas wants to merge 1 commit intocashubtc:mainfrom
Open
Add dart publish workflow, prebuilt binary support, and README#1886crodas wants to merge 1 commit intocashubtc:mainfrom
crodas wants to merge 1 commit intocashubtc:mainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1886 +/- ##
==========================================
- Coverage 64.32% 64.27% -0.05%
==========================================
Files 329 329
Lines 55610 55610
==========================================
- Hits 35770 35744 -26
- Misses 19840 19866 +26 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
6371f8e to
9cc2a6a
Compare
Collaborator
Author
|
Here is an example in action from my personal repos: |
9cc2a6a to
cd3e615
Compare
Collaborator
thesimplekid
left a comment
There was a problem hiding this comment.
Can you also document what secrets we need to set where?
5e9a007 to
7c39772
Compare
Collaborator
Author
a618945 to
e9aca4a
Compare
thesimplekid
requested changes
Apr 20, 2026
595799d to
17b08c7
Compare
6035e3a to
3f70ce7
Compare
Add a GitHub Actions workflow (dart-publish.yml) in the monorepo that automates the full Dart release pipeline for the cdk-dart repo: - Syncs sources to cdk-dart using rsync and resolves Cargo workspace references. - Builds native FFI libraries for 8 targets (Linux, macOS, Windows, Android, iOS). - Generates Dart bindings via uniffi-bindgen reusing cargo cache. - Creates per-platform release archives containing source code and binaries. - Stages changes on a release branch and merges to master. - Creates a GitHub release with tags and per-platform release assets. Extend the Dart build hook (build.dart) to detect and use prebuilt binaries from a `prebuilt/<target-triple>/` directory, skipping the cargo build when available. Falls back to building from source otherwise. Enable npubcash and bip353 features on cdk-ffi for the Dart bindings. Update bindings/dart/README.md with installation and workflow instructions.
3f70ce7 to
3892851
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Add a GitHub Actions workflow (publish.yml) for the cdk-dart repo that automates the full Dart release pipeline: updates Cargo.toml versions, builds native FFI libraries for 8 targets (Linux x86_64/arm64, macOS arm64, Windows x86_64, Android arm64/armv7/x86_64, iOS arm64), generates Dart bindings via uniffi-bindgen, and creates a GitHub release with tag.
Extend the Dart build hook (build.dart) to detect and use prebuilt binaries from a
prebuilt/<target-triple>/directory, skipping the cargo build when available. Falls back to building from source otherwise.Enable npubcash and bip353 features on cdk-ffi for the Dart bindings.
Notes to the reviewers
Suggested CHANGELOG Updates
CHANGED
ADDED
REMOVED
FIXED
Checklist
just quick-checkbefore committingcrates/cdk-ffi)