summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-29 22:53:05 +0800
committerruki <[email protected]>2021-09-29 22:53:05 +0800
commit2904ba8f0e7eb87eab4b47a6021c1ce9039a40ba (patch)
tree49bed9f0724357668da669169d162924df099397
parent6d57ef5efcd62d566654c1ab189fd66e735b17d0 (diff)
fix test
-rw-r--r--tests/projects/c/library_with_cmakelists/test.lua11
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/projects/c/library_with_cmakelists/test.lua b/tests/projects/c/library_with_cmakelists/test.lua
index b76241be2..3c28e0c3e 100644
--- a/tests/projects/c/library_with_cmakelists/test.lua
+++ b/tests/projects/c/library_with_cmakelists/test.lua
@@ -1,6 +1,13 @@
-- main entry
function main(t)
- -- build project
- 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