From adfe022471427f1cdf0238db80f809c51ed9a753 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 6 Aug 2025 22:42:52 +0800 Subject: add linkgroups test --- tests/projects/c++/package_linkgroups/test.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/projects/c++/package_linkgroups/test.lua (limited to 'tests/projects/c++/package_linkgroups/test.lua') 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 + -- cgit v1.3.1 From a1a488a62267c9318aa4258e3eeaf759b1783abd Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 6 Aug 2025 22:55:22 +0800 Subject: modify test --- tests/projects/c++/package_linkgroups/test.lua | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'tests/projects/c++/package_linkgroups/test.lua') diff --git a/tests/projects/c++/package_linkgroups/test.lua b/tests/projects/c++/package_linkgroups/test.lua index 704959e28..8ef455de2 100644 --- a/tests/projects/c++/package_linkgroups/test.lua +++ b/tests/projects/c++/package_linkgroups/test.lua @@ -1,13 +1,7 @@ function main(t) - - -- freebsd ci is slower - if is_host("bsd") then + if not is_host("linux") 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 + t:build() end -- cgit v1.3.1