Jens Geyer created THRIFT-6003:
----------------------------------

             Summary: Add Haxe codegen test script and GitHub Actions CI job
                 Key: THRIFT-6003
                 URL: https://issues.apache.org/jira/browse/THRIFT-6003
             Project: Thrift
          Issue Type: New Feature
          Components: Haxe - Compiler, Haxe - Library, Build Process
            Reporter: Jens Geyer


The development fork contains run-Haxe-Codegen-Tests.ps1, a PowerShell script 
that tests the Haxe code generator by running the Thrift compiler on every 
.thrift file in the repository and then compiling the generated Haxe code 
against the Thrift library to JavaScript (html5 target).

A key requirement is that the Haxe library from the local code tree is used 
(via haxelib dev) rather than the published version from the haxelib registry, 
ensuring that compiler and library always match.

This ticket covers:
- Adding run-Haxe-Codegen-Tests.ps1 to lib/haxe/codegen/ in the upstream 
repository
- Extending the script with a -TargetFolder parameter (configurable temp output 
dir, default: system temp) and an optional -ExtraThriftFiles parameter for 
additional .thrift search paths
- Adding a new lib-haxe-codegen job to .github/workflows/build.yml using 
krdlab/setup-haxe, haxelib dev for the local Thrift library, and the pre-built 
thrift-compiler artifact from the compiler job



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to