Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
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
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
quest/** merge=quest
driver/pub/tests/fixture/api/src/crlf.rs -text
# The exporter embeds its runtime in every binding it writes, so a Windows checkout must
# keep LF for the output, and its contract hash, to match every other host's.
ffi/runtime/** text eol=lf
30 changes: 30 additions & 0 deletions .github/workflows/bindings-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Binding packages test

# bindings.yml on the api fixture, whose Python consumers must print native Rust's transcript
# byte for byte, and on moq's stand-in facade at the exporter's moq pin, its first consumer.
# Read-only: nothing here publishes.
on:
workflow_call:

permissions:
contents: read

jobs:
api:
name: api fixture
uses: ./.github/workflows/bindings.yml
with:
manifest-path: ffi/fixtures/api/Cargo.toml
features: doubled
example: transcript
python-check: ffi/tests/api.py
# No swift-check: api.swift compiles against the fixture's own test export, of the host
# and wasm32-wasip1, not this one's targets. Its transcript stays the exporter's tests'.

moq:
name: moq stand-in
uses: ./.github/workflows/bindings.yml
with:
manifest-path: ffi/target/moq-ffi/Cargo.toml
python-check: ffi/moq/moq.py
swift-check: ffi/moq/moq.swift
Loading