This is an automated email from the ASF dual-hosted git repository.

yishayw pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git


The following commit(s) were added to refs/heads/develop by this push:
     new 5efce8cbb compiler-jburg-types: add optional 
verify-compiler-integration target to ApproveJBurgTypes.xml
     new 480482654 Merge branch 'develop' of 
https://github.com/apache/royale-compiler into develop
5efce8cbb is described below

commit 5efce8cbb54474966cad936bfe62af460f7e1d61
Author: Yishay Weiss <[email protected]>
AuthorDate: Fri Jul 24 13:26:49 2026 +0100

    compiler-jburg-types: add optional verify-compiler-integration target to 
ApproveJBurgTypes.xml
---
 compiler-jburg-types/ApproveJBurgTypes.xml | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/compiler-jburg-types/ApproveJBurgTypes.xml 
b/compiler-jburg-types/ApproveJBurgTypes.xml
index f80ab7a67..45ce31e6a 100644
--- a/compiler-jburg-types/ApproveJBurgTypes.xml
+++ b/compiler-jburg-types/ApproveJBurgTypes.xml
@@ -608,8 +608,34 @@
             <arg value="clean" />
             <arg value="install" />
         </exec>
+        <antcall target="verify-compiler-integration" />
     </target>
-       
+
+    <!--
+        Optional consumer integration check.
+        Verifies that royale-compiler builds when its compiler-jburg-types
+        dependency is set to the version under vote. Skipped unless
+        -Dcompiler.dir=<path to a royale-compiler checkout> is provided.
+        Can also be invoked directly:
+          ant -f ApproveJBurgTypes.xml verify-compiler-integration \
+              -Drelease.version=x.y.z -Dcompiler.dir=/path/to/royale-compiler
+    -->
+    <target name="verify-compiler-integration" if="compiler.dir">
+        <fail message="compiler.dir '${compiler.dir}' does not exist">
+            <condition>
+                <not>
+                    <available file="${compiler.dir}/pom.xml" />
+                </not>
+            </condition>
+        </fail>
+        <echo message="Building royale-compiler at ${compiler.dir} against 
compiler-jburg-types ${release.version}" />
+        <exec executable="${mvn}" dir="${compiler.dir}" failonerror="true">
+            <arg value="clean" />
+            <arg value="install" />
+            <arg value="-Dcompiler-jburg-types.version=${release.version}" />
+        </exec>
+    </target>
+
        <target name="approve" >
                <condition property="vote" value="+1">
                        <and>

Reply via email to