WIP – ci: add FFI binding verification workflows #1539

Open
callebtc wants to merge 13 commits from add-ffi-verification-workflows into main
callebtc commented 2026-01-18 11:44:11 +00:00 (Migrated from github.com)

Summary

This PR introduces 4 new GitHub Actions workflows to verify that changes in the core cdk repository do not break downstream FFI bindings.

Workflows Added

  1. ffi-python.yml: Generates Python bindings, installs them, and runs basic verification.
  2. ffi-kotlin.yml: Generates Kotlin bindings and verifies they compile.
  3. ffi-swift.yml: Generates Swift bindings and verifies the native package builds (on macOS).
  4. ffi-flutter.yml: Patches the Flutter Rust bridge to use the local CDK and verifies compilation.

These workflows trigger on push and pull_request to the main branch.

## Summary This PR introduces 4 new GitHub Actions workflows to verify that changes in the core `cdk` repository do not break downstream FFI bindings. ## Workflows Added 1. **`ffi-python.yml`**: Generates Python bindings, installs them, and runs basic verification. 2. **`ffi-kotlin.yml`**: Generates Kotlin bindings and verifies they compile. 3. **`ffi-swift.yml`**: Generates Swift bindings and verifies the native package builds (on macOS). 4. **`ffi-flutter.yml`**: Patches the Flutter Rust bridge to use the local CDK and verifies compilation. These workflows trigger on `push` and `pull_request` to the `main` branch.
callebtc commented 2026-01-21 16:22:13 +00:00 (Migrated from github.com)

switching to ready to trigger the CI

switching to ready to trigger the CI
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin add-ffi-verification-workflows:add-ffi-verification-workflows
git switch add-ffi-verification-workflows

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff add-ffi-verification-workflows
git switch add-ffi-verification-workflows
git rebase main
git switch main
git merge --ff-only add-ffi-verification-workflows
git switch add-ffi-verification-workflows
git rebase main
git switch main
git merge --no-ff add-ffi-verification-workflows
git switch main
git merge --squash add-ffi-verification-workflows
git switch main
git merge --ff-only add-ffi-verification-workflows
git switch main
git merge add-ffi-verification-workflows
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cashubtc/cdk!1539
No description provided.