diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-12-18 22:00:05 -0600 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-12-18 22:00:05 -0600 |
commit | a0b340fd40fab243bd33400b1789d1e47dcd2805 (patch) | |
tree | b34a1c0e13f012fdd318830d6394830777b4d247 | |
parent | 42de06e92e3450fe7a4ae38bf5b7fcab065e3db4 (diff) | |
download | yuescript-packaging-a0b340fd40fab243bd33400b1789d1e47dcd2805.tar.gz yuescript-packaging-a0b340fd40fab243bd33400b1789d1e47dcd2805.tar.bz2 yuescript-packaging-a0b340fd40fab243bd33400b1789d1e47dcd2805.zip |
work
-rw-r--r-- | meta.lua | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -11,13 +11,19 @@ local debug = { | |||
11 | release = "", | 11 | release = "", |
12 | debug = "-g", | 12 | debug = "-g", |
13 | } | 13 | } |
14 | local lua_versions = { | ||
15 | ["51"] = true, | ||
16 | ["52"] = true, | ||
17 | ["53"] = true, | ||
18 | ["54"] = true, | ||
19 | } | ||
14 | local compilers = {--[["mingw32",]]"mingw64"--[[,"clang32","clang64"]]} | 20 | local compilers = {--[["mingw32",]]"mingw64"--[[,"clang32","clang64"]]} |
15 | local builds = {} | 21 | local builds = {} |
16 | 22 | ||
17 | for name, optimization, rel, flag, _, image in cartesian(optimizations, debug, compilers) do | 23 | for 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}, |