From f0d8e65551129f9b441b880c4a8407bc5a35a5ef Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Wed, 25 Sep 2024 17:18:13 -0500 Subject: Do all tests --- meta.lua | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/meta.lua b/meta.lua index bd26c71..c56df8d 100644 --- a/meta.lua +++ b/meta.lua @@ -5,28 +5,22 @@ local lua_versions = { bin = "lua.exe", dlib = "lua51.dll" }, - --[[ ["52"] = {"liblua.a", "lua.exe", "lua52.dll"}, ["53"] = {"liblua.a", "lua.exe", "lua53.dll"}, ["54"] = {"liblua.a", "lua.exe", "lua54.dll"}, ["jit"] = {"libluajit.a", "luajit.exe", "lua51.dll"}, - ]] } local optimizations = { tiny = "-Oz", - --[[ size = "-Os", debug = "-Og", zero = "-O0", one = "-O1", two = "-O2", three = "-O3", - ]] } local debug = { - --[[ release = "", - ]] debug = "-g", } local compilers = {--[["mingw32",]]"mingw64"--[[,"clang32","clang64"]]} @@ -53,6 +47,17 @@ for version_k, version_v, opti_k, opti_v, debug_k, debug_v, comp_k, comp_v in ca CFLAGS=" " .. opti_v .. " " .. debug_v, } } - + --[[ + builds[name .. "-test"] = { + image="image-wine", + requires={ + {"cicd", name .. ":luarocks.exe"}, + {"cicd", "lua" .. version_k .. "-" .. opti_k .. "-" .. debug_k .. "-" .. comp_v .. ":" .. version_v.bin}, + {"cicd", "lua" .. version_k .. "-" .. opti_k .. "-" .. debug_k .. "-" .. comp_v .. ":" .. version_v.dlib}, + }, + produces = {}, + init = "test", + } + ]] end return builds -- cgit v1.2.3-55-g6feb