summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-12-18 22:00:05 -0600
committerAlexander M Pickering <alex@cogarr.net>2024-12-18 22:00:05 -0600
commita0b340fd40fab243bd33400b1789d1e47dcd2805 (patch)
treeb34a1c0e13f012fdd318830d6394830777b4d247
parent42de06e92e3450fe7a4ae38bf5b7fcab065e3db4 (diff)
downloadyuescript-packaging-a0b340fd40fab243bd33400b1789d1e47dcd2805.tar.gz
yuescript-packaging-a0b340fd40fab243bd33400b1789d1e47dcd2805.tar.bz2
yuescript-packaging-a0b340fd40fab243bd33400b1789d1e47dcd2805.zip
work
-rw-r--r--meta.lua10
1 files changed, 8 insertions, 2 deletions
diff --git a/meta.lua b/meta.lua
index a8a7f8d..6529013 100644
--- a/meta.lua
+++ b/meta.lua
@@ -11,13 +11,19 @@ local debug = {
11 release = "", 11 release = "",
12 debug = "-g", 12 debug = "-g",
13} 13}
14local lua_versions = {
15 ["51"] = true,
16 ["52"] = true,
17 ["53"] = true,
18 ["54"] = true,
19}
14local compilers = {--[["mingw32",]]"mingw64"--[[,"clang32","clang64"]]} 20local compilers = {--[["mingw32",]]"mingw64"--[[,"clang32","clang64"]]}
15local builds = {} 21local builds = {}
16 22
17for name, optimization, rel, flag, _, image in cartesian(optimizations, debug, compilers) do 23for name, optimization, rel, flag, _, image, lua_version, _ in cartesian(optimizations, debug, compilers, lua_versions) do
18 local name = "yuescript-" .. name .. "-" .. rel .. "-" .. image 24 local name = "yuescript-" .. name .. "-" .. rel .. "-" .. image
19 builds[name] = { 25 builds[name] = {
20 image = "image-" .. image, 26 image = "image-luarocks-" .. lua_version .. "-" .. image,
21 requires = { 27 requires = {
22 {"git","yuescript#main"}, 28 {"git","yuescript#main"},
23 {"cicd", "image-" .. image}, 29 {"cicd", "image-" .. image},