summaryrefslogtreecommitdiff
path: root/tests/projects/c++/linkorders/test.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-09-30 10:30:26 +0800
committerruki <[email protected]>2023-09-30 10:30:26 +0800
commit2a389d399b2437f8561d650e1badadce51a14a82 (patch)
tree1ca1322305594769d2524e9bc0bb7a947c839715 /tests/projects/c++/linkorders/test.lua
parent50f2bb3e4d327a5d55e62a897722ed46ed05a6d1 (diff)
fix ci tests
Diffstat (limited to 'tests/projects/c++/linkorders/test.lua')
-rw-r--r--tests/projects/c++/linkorders/test.lua12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/projects/c++/linkorders/test.lua b/tests/projects/c++/linkorders/test.lua
index b57362078..704959e28 100644
--- a/tests/projects/c++/linkorders/test.lua
+++ b/tests/projects/c++/linkorders/test.lua
@@ -1,3 +1,13 @@
function main(t)
- t:build()
+
+ -- 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()
+ end
end
+