do test on ci (#2195)

pull/2199/head
ruki 1 year ago committed by GitHub
parent db2f621d03
commit 5d65d9479f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      packages/t/trantor/xmake.lua

@ -15,16 +15,17 @@ package("trantor")
add_versions("v1.5.7", "42576563afbf1e58c7d68f758cf3fca4d193496d4e3f82c80069d8389a7839d5")
add_versions("v1.5.8", "705ec0176681be5c99fcc7af37416ece9d65ff4d907bca764cb11471b104fbf8")
add_patches("v1.5.8", path.join(os.scriptdir(), "patches", "1.5.8", "skip_doc.patch" ),"4124f3cc1e486ad75bc5ec2fa454ea5319d68287d0b1d8cfa3b5ab865f8ca5fd")
add_patches("v1.5.8", path.join(os.scriptdir(), "patches", "1.5.8", "skip_doc.patch" ), "4124f3cc1e486ad75bc5ec2fa454ea5319d68287d0b1d8cfa3b5ab865f8ca5fd")
add_deps("cmake")
add_deps("openssl", "c-ares", {optional = true})
if is_plat("windows") or is_plat("mingw") then
if is_plat("windows", "mingw") then
add_patches("v1.5.8", path.join(os.scriptdir(), "patches", "1.5.8", "fix-win-off_t.patch" ),"f0d7fbfc98085ed8b5f6c7504be29b18ddcd6fe4e14e3551396a643fc4574dc0")
add_syslinks("ws2_32")
elseif is_plat("linux") then
add_syslinks("pthread")
end
on_install("windows", "macosx", "linux", "mingw@windows", function (package)
local configs = {}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))

Loading…
Cancel
Save