Browse Source

[CI] when BYTECODE=1, set OCAMLC=ocamlc.opt

Andy Li 10 years ago
parent
commit
26ca107f29
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/RunCi.hx

+ 1 - 1
tests/RunCi.hx

@@ -491,7 +491,7 @@ class RunCi {
 							runCommand("haxe", ["compile-macro.hxml"]);
 						case AppVeyor:
 							changeDirectory(repoDir);
-							runCommand(Sys.getEnv("CYG_ROOT") + "/bin/bash", ["-lc", 'cd \"$$OLDPWD\" && make -s -f Makefile.win WODI=wodi${Sys.getEnv("WODI_ARCH")} OCAMLOPT=ocamlopt.opt BYTECODE=1']);
+							runCommand(Sys.getEnv("CYG_ROOT") + "/bin/bash", ["-lc", 'cd \"$$OLDPWD\" && make -s -f Makefile.win WODI=wodi${Sys.getEnv("WODI_ARCH")} OCAMLC=ocamlc.opt BYTECODE=1']);
 							changeDirectory(unitDir);
 							runCommand("haxe", ["compile-macro.hxml"]);
 					}