summaryrefslogtreecommitdiff
path: root/tests/projects/package/rootconfigs/test.lua
blob: ed5c874863066f6a199cf7cf1dfe6fb0dbbc2b9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
function main(t)
    -- freebsd ci is slower
    if is_host("bsd", "solaris", "haiku") 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

    -- test packagekey
    os.execv("xmake", {"lua", "-vD", "utils.ci.packageskey"})
end