From ff7f7fa64997a8f604807a9c85a8a07a3c181e81 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 23 Jan 2021 23:42:14 +0800 Subject: improve ci --- tests/projects/package/basic/test.lua | 6 ++++++ tests/projects/package/depconfigs/test.lua | 4 ++++ tests/projects/package/multiconfig/test.lua | 4 ++++ tests/projects/package/rootconfigs/test.lua | 4 ++++ 4 files changed, 18 insertions(+) diff --git a/tests/projects/package/basic/test.lua b/tests/projects/package/basic/test.lua index 8644a2af9..4964fecaa 100644 --- a/tests/projects/package/basic/test.lua +++ b/tests/projects/package/basic/test.lua @@ -1,4 +1,10 @@ function main(t) + + -- freebsd ci is slower + if is_host("bsd") then + return + end + -- 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() diff --git a/tests/projects/package/depconfigs/test.lua b/tests/projects/package/depconfigs/test.lua index 8644a2af9..a6690754b 100644 --- a/tests/projects/package/depconfigs/test.lua +++ b/tests/projects/package/depconfigs/test.lua @@ -1,4 +1,8 @@ function main(t) + -- freebsd ci is slower + if is_host("bsd") then + return + end -- 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() diff --git a/tests/projects/package/multiconfig/test.lua b/tests/projects/package/multiconfig/test.lua index 8644a2af9..a6690754b 100644 --- a/tests/projects/package/multiconfig/test.lua +++ b/tests/projects/package/multiconfig/test.lua @@ -1,4 +1,8 @@ function main(t) + -- freebsd ci is slower + if is_host("bsd") then + return + end -- 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() diff --git a/tests/projects/package/rootconfigs/test.lua b/tests/projects/package/rootconfigs/test.lua index 8644a2af9..a6690754b 100644 --- a/tests/projects/package/rootconfigs/test.lua +++ b/tests/projects/package/rootconfigs/test.lua @@ -1,4 +1,8 @@ function main(t) + -- freebsd ci is slower + if is_host("bsd") then + return + end -- 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() -- cgit v1.3.1