bindings: full C-ABI test matrix — C harness, Node package, .NET/Swift/Python updates, CI - #32
Merged
Merged
Conversation
…t/Python updates, CI Every binding wraps the flat C ABI (include/tts_wrapper.h); this gives each one a real test suite and adds two new surfaces: - tests/ffi_conformance.rs: Rust-side ABI conformance (multi-context lifetimes, per-context error isolation, deterministic failure surface offline, callback replacement, mark registration hardening, the consolidated 7-arg boundary signature) - bindings/c: C acceptance harness — compiles the cbindgen header with -Wall -Wextra -Werror, links the cdylib, exercises the whole ABI (make test) - bindings/nodejs: NEW @aactools/tts-wrapper npm package (koffi dlopen, EventEmitter API, full typings) + node:test suite (9 tests) - bindings/dotnet: boundary callback updated to the consolidated 7-arg signature (+ mark/viseme P/Invokes), TTS_WRAPPER_LIB DllImport resolver, NEW xunit test project - bindings/swift: boundary callback updated (+ mark/viseme setters), NEW SwiftPM package (CRustTtsWrapper C target via symlinked header, linkedLibrary + TTS_WRAPPER_LIB_DIR), NEW XCTest suite - bindings/python: boundary CFUNCTYPE updated to the 7-arg signature - bindings/README.md: the binding guide (surface table, loading conventions, suite matrix, which binding to use) - .github/workflows/bindings.yml: CI matrix — Rust conformance (3 OSes), C harness (2), Node (3), .NET (2), Swift (macOS)
… survive checkout)
…ve TTS_WRAPPER_LIB path
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.
Every binding wraps the flat C ABI (include/tts_wrapper.h); this gives
each one a real test suite and adds two new surfaces:
lifetimes, per-context error isolation, deterministic failure surface
offline, callback replacement, mark registration hardening, the
consolidated 7-arg boundary signature)
-Wall -Wextra -Werror, links the cdylib, exercises the whole ABI
(make test)
EventEmitter API, full typings) + node:test suite (9 tests)
signature (+ mark/viseme P/Invokes), TTS_WRAPPER_LIB DllImport
resolver, NEW xunit test project
NEW SwiftPM package (CRustTtsWrapper C target via symlinked header,
linkedLibrary + TTS_WRAPPER_LIB_DIR), NEW XCTest suite
conventions, suite matrix, which binding to use)
(3 OSes), C harness (2), Node (3), .NET (2), Swift (macOS)