summaryrefslogtreecommitdiff
path: root/tests/projects/c++/package_linkgroups/test.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-08-06 22:42:52 +0800
committerruki <[email protected]>2025-08-06 22:42:52 +0800
commitadfe022471427f1cdf0238db80f809c51ed9a753 (patch)
treea3e00bc9d3dee87501d3967601f09b6325f01f40 /tests/projects/c++/package_linkgroups/test.lua
parent5ad9382acadf3a5d9e6cbe29ba408847b45148a1 (diff)
add linkgroups test
Diffstat (limited to 'tests/projects/c++/package_linkgroups/test.lua')
-rw-r--r--tests/projects/c++/package_linkgroups/test.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/projects/c++/package_linkgroups/test.lua b/tests/projects/c++/package_linkgroups/test.lua
new file mode 100644
index 000000000..704959e28
--- /dev/null
+++ b/tests/projects/c++/package_linkgroups/test.lua
@@ -0,0 +1,13 @@
+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
+