From 777001165dd469733d927d8ddea9de8fcb6736de Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 3 Jan 2021 10:32:23 +0800 Subject: fix tests on ci --- tests/projects/package/basic/test.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/projects/package/basic/test.lua') diff --git a/tests/projects/package/basic/test.lua b/tests/projects/package/basic/test.lua index 5050f2dd4..8644a2af9 100644 --- a/tests/projects/package/basic/test.lua +++ b/tests/projects/package/basic/test.lua @@ -1,5 +1,6 @@ function main(t) - if is_plat(os.subhost()) and is_arch(os.subarch()) then + -- only for x86/x64, because it will take too long time on ci with arm/mips + if os.subarch():startswith("x") or os.subarch() == "i386" then t:build() end end -- cgit v1.3.1