summaryrefslogtreecommitdiff
path: root/tests/projects/package/components/test.lua
blob: f1634e48565fc06911e1785d134c0167ab05bf8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
function main(t)
    if is_host("bsd", "solaris", "haiku") or is_subhost("msys") then
        return
    end
    if is_host("linux") and linuxos.name() == "alpine" 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