summaryrefslogtreecommitdiff
path: root/tests/projects/package/rootconfigs/test.lua
blob: 7d55eaf4e312fed96414e323a40d3a7674a730a0 (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") 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