2
0
Эх сурвалжийг харах

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

32-bit is still tested in AppVeyor.
Andy Li 7 жил өмнө
parent
commit
a2b5a4cdac

+ 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"]);