Add cross-runtime interop workflow
This commit is contained in:
parent
50ac886fd7
commit
e06e3f5b3a
3 changed files with 85 additions and 8 deletions
|
|
@ -1,6 +1,6 @@
|
|||
param(
|
||||
[string] $KotlinHome = "C:\Program Files\Android\Android Studio\plugins\Kotlin\kotlinc",
|
||||
[string] $JavaHome = "C:\Program Files\Android\Android Studio\jbr"
|
||||
[string] $KotlinHome = $(if ($env:KOTLIN_HOME) { $env:KOTLIN_HOME } else { "C:\Program Files\Android\Android Studio\plugins\Kotlin\kotlinc" }),
|
||||
[string] $JavaHome = $(if ($env:KOTLIN_JAVA_HOME) { $env:KOTLIN_JAVA_HOME } elseif ($env:JAVA_HOME) { $env:JAVA_HOME } else { "C:\Program Files\Android\Android Studio\jbr" })
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
|
|
|||
|
|
@ -270,12 +270,10 @@ npm run test
|
|||
The cross-runtime interop harness is meant to run in GitHub Actions on
|
||||
`windows-latest`.
|
||||
|
||||
It expects these sibling checkouts inside the same workspace:
|
||||
|
||||
- `CultNetTS`
|
||||
- `cultnet-rs`
|
||||
- `cultcache-rs`
|
||||
- `CultLib`
|
||||
It expects this CultLib checkout with the in-tree TypeScript, Rust, Python,
|
||||
C#, and Kotlin packages present. The workflow installs the toolchains, builds
|
||||
the Kotlin interop jar through `packages/cultmesh-kotlin/build.ps1`, and then
|
||||
lets the TypeScript harness build the Rust and C# interop peers it needs.
|
||||
|
||||
The workflow lives at
|
||||
[.github/workflows/cultnet-interop.yml](.github/workflows/cultnet-interop.yml)
|
||||
|
|
|
|||
Loading…
Reference in a new issue