summaryrefslogtreecommitdiff
path: root/tests/projects/package/components/test.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-10-17 22:39:59 +0800
committerruki <[email protected]>2022-10-17 22:39:59 +0800
commit5692805fd0bb1aa70cd6965de83068db60743b34 (patch)
tree1eca354f261b15ee4b1b76dc8068d5f8b811c320 /tests/projects/package/components/test.lua
parent81b97b43fab70ef64fda83986d7b90de6721cb70 (diff)
add components tests
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