From 961e0200df2e7173a76458c4ff34cbfe5d9c64f9 Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Sat, 21 Dec 2024 23:32:43 -0600 Subject: Build all versions of compat53 --- meta.lua | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/meta.lua b/meta.lua index 250ccb9..b08d25d 100644 --- a/meta.lua +++ b/meta.lua @@ -1,12 +1,14 @@ local compat_versions = { - ["scm-1"] = true, - ["0.14.3-1"] = true, - ["0.14.2-1"] = true, - ["0.14.1-1"] = true, - ["0.14-1"] = true, - ["0.13-1"] = true, - ["0.12-1"] = true, + ["scm-1"] = "master", + ["0.14.3-1"] = "v0.14.3", + ["0.14.2-1"] = "v0.14.2", + ["0.14.1-1"] = "v0.14.1", } +for i = 1,14 do + if i ~= 9 and i ~= 10 then + compat_versions["0." .. tostring(i) .. "-1"] = "v0." .. tostring(i) + end +end local lua_versions = { ["51"] = true, ["52"] = true, @@ -30,12 +32,12 @@ local compilers = {--[["mingw32",]]"mingw64"--[[,"clang32","clang64"]]} local builds = {} for version, _, name, optimization, rel, flag, _, image in cartesian(lua_versions, optimizations, debug, compilers) do - for package_version,_ in pairs(compat_versions) do + for package_version,branch in pairs(compat_versions) do local buildname = "lua-compat-53-" .. package_version:gsub("[%W]","-") .. "-" .. version .. "-" .. name .. "-" .. rel .. "-" .. image builds[buildname] = { image = "image-luarocks-" .. version.. "-" .. image, requires = { - {"git", "lua-compat-5.3"}, + {"git", "lua-compat-5.3#" .. branch}, {"cicd","image-luarocks-" .. version .. "-" .. image}, {"cicd","lua" .. version .. "-" .. name .. "-" .. rel .. "-" .. image .. ":lua" .. version .. ".dll"}, }, -- cgit v1.2.3-55-g6feb