瀏覽代碼

[ci] add hlc (without native compilation for now)

See #10029
Rudy Ges 2 年之前
父節點
當前提交
1d2388eec9
共有 3 個文件被更改,包括 7 次插入0 次删除
  1. 1 0
      tests/runci/targets/Hl.hx
  2. 5 0
      tests/unit/compile-hlc.hxml
  3. 1 0
      tests/unit/compile.hxml

+ 1 - 0
tests/runci/targets/Hl.hx

@@ -73,6 +73,7 @@ class Hl {
 		getHlDependencies();
 
 		runCommand("haxe", ["compile-hl.hxml"].concat(args));
+		runCommand("haxe", ["compile-hlc.hxml"].concat(args));
 		runCommand(hlBinary, ["bin/unit.hl"]);
 
 		changeDirectory(threadsDir);

+ 5 - 0
tests/unit/compile-hlc.hxml

@@ -0,0 +1,5 @@
+compile-each.hxml
+--main unit.TestMain
+-hl bin/hlc/main.c
+-D hl-check
+-D hl-ver=1.13.0

+ 1 - 0
tests/unit/compile.hxml

@@ -14,6 +14,7 @@ compile-java-runner.hxml
 --next compile-flash.hxml
 --next compile-js.hxml
 --next compile-hl.hxml
+--next compile-hlc.hxml
 --next compile-lua.hxml
 --next compile-neko.hxml
 --next compile-php.hxml