summaryrefslogtreecommitdiff
path: root/tests/projects/package/components/test.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-10-18 22:30:24 +0800
committerruki <[email protected]>2022-10-18 22:30:24 +0800
commitf45ee76bd832d0dac78e904d75624e817a293c74 (patch)
treece9c4a108b02a8aa808006d2b320a3c835c4e0bd /tests/projects/package/components/test.lua
parent5339aa483ec9afccfad3281f6ed8117d2a097795 (diff)
add test
Diffstat (limited to 'tests/projects/package/components/test.lua')
-rw-r--r--tests/projects/package/components/test.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/projects/package/components/test.lua b/tests/projects/package/components/test.lua
new file mode 100644
index 000000000..4964fecaa
--- /dev/null
+++ b/tests/projects/package/components/test.lua
@@ -0,0 +1,12 @@
+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()
+ end
+end