From f45ee76bd832d0dac78e904d75624e817a293c74 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 18 Oct 2022 22:30:24 +0800 Subject: add test --- tests/projects/package/components/test.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/projects/package/components/test.lua 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 -- cgit v1.3.1