浏览代码

[TravisCI] only test cpp target for 64-bit to save time

32-bit is still tested in AppVeyor.
Andy Li 7 年之前
父节点
当前提交
a2b5a4cdac
共有 1 个文件被更改,包括 4 次插入5 次删除
  1. 4 5
      tests/runci/targets/Cpp.hx

+ 4 - 5
tests/runci/targets/Cpp.hx

@@ -42,14 +42,13 @@ class Cpp {
 
 	static public function run(args:Array<String>, testCompiled:Bool, testCppia:Bool) {
 		getCppDependencies();
-		if (testCompiled) {
-			runCommand("haxe", ["compile-cpp.hxml", "-D", "HXCPP_M32"].concat(args));
-			runCpp("bin/cpp/TestMain-debug", []);
-		}
 
 		switch (ci) {
 			case AppVeyor:
-				//save time...
+				if (testCompiled) {
+					runCommand("haxe", ["compile-cpp.hxml", "-D", "HXCPP_M32"].concat(args));
+					runCpp("bin/cpp/TestMain-debug", []);
+				}
 			case _:
 				if (testCompiled) {
 					runCommand("rm", ["-rf", "cpp"]);