Browse Source

Skip luajit tests on arm64 linux

for it is not well supported
Kevin Leung 3 years ago
parent
commit
174b7b675f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Earthfile
  2. 1 1
      tests/runci/targets/Lua.hx

+ 1 - 1
Earthfile

@@ -220,8 +220,8 @@ test-all:
     BUILD +test --TEST=cs
     BUILD +test --TEST=js
     BUILD +test --TEST=cpp
+    BUILD +test --TEST=lua
     
     IF [ "$TARGETPLATFORM" = "linux/amd64" ] # FIXME
         BUILD +test --TEST=hl
-        BUILD +test --TEST=lua
     END

+ 1 - 1
tests/runci/targets/Lua.hx

@@ -46,7 +46,7 @@ class Lua {
 
 		getLuaDependencies();
 
-		for (lv in ["-l5.1", "-l5.2", "-l5.3", "-j2.0", "-j2.1" ]){
+		for (lv in ["-l5.1", "-l5.2", "-l5.3"].concat(systemName == 'Linux' && Linux.arch == Arm64 ? [] : ["-j2.0", "-j2.1"])) {
 
 			var envpath = Sys.getEnv("HOME") + '/lua_env$lv';
 			addToPATH(envpath + '/bin');