diff options
author | Alexander M Pickering <alex@cogarr.net> | 2025-04-23 22:02:03 -0500 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2025-04-23 22:02:03 -0500 |
commit | aff9ad469caa9c1cb01a7e4fc18912a639325e41 (patch) | |
tree | a2552a584a099e9130e9a76bf0acfac50d0752d8 | |
parent | 11dda2576ed8460ad7ded51c4570133b3838f63c (diff) | |
download | luafilesystem-packaging-master.tar.gz luafilesystem-packaging-master.tar.bz2 luafilesystem-packaging-master.zip |
-rw-r--r-- | meta.lua | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -5,7 +5,7 @@ local lua_versions = { | |||
5 | ["54"] = true, | 5 | ["54"] = true, |
6 | } | 6 | } |
7 | local optimizations = { | 7 | local optimizations = { |
8 | tiny = "-Oz", | 8 | tiny = "-Oz", |
9 | size = "-Os", | 9 | size = "-Os", |
10 | zero = "-O0", | 10 | zero = "-O0", |
11 | one = "-O1", | 11 | one = "-O1", |
@@ -21,7 +21,8 @@ local compilers = {--[["mingw32",]]"mingw64"--[[,"clang32","clang64"]]} | |||
21 | 21 | ||
22 | local builds = {} | 22 | local builds = {} |
23 | for version, _, name, optimization, rel, flag, _, image in cartesian(lua_versions, optimizations, debug, compilers) do | 23 | for version, _, name, optimization, rel, flag, _, image in cartesian(lua_versions, optimizations, debug, compilers) do |
24 | builds["luafilesystem-" .. version .. "-" .. name .. "-" .. rel .. "-" .. image] = { | 24 | local buildname = "luafilesystem-" .. version .. "-" .. name .. "-" .. rel .. "-" .. image |
25 | builds[buildname] = { | ||
25 | image = "image-luarocks-" .. version.. "-" .. image, | 26 | image = "image-luarocks-" .. version.. "-" .. image, |
26 | requires = { | 27 | requires = { |
27 | {"git", "luafilesystem"}, | 28 | {"git", "luafilesystem"}, |
@@ -37,6 +38,15 @@ for version, _, name, optimization, rel, flag, _, image in cartesian(lua_version | |||
37 | version = version | 38 | version = version |
38 | }, | 39 | }, |
39 | } | 40 | } |
41 | --[[ | ||
42 | builds[buildname .. "-test"] = { | ||
43 | image = "image-wine", | ||
44 | requires = { | ||
45 | {"cicd", buildname .. ":luafilesystem-scm-1.mingw32-x86_64.rock"}, | ||
46 | {"cicd", "lua-" .. version .. "-" .. optimization .. "-" .. rel .. "-" .. } | ||
47 | } | ||
48 | } | ||
49 | ]] | ||
40 | end | 50 | end |
41 | 51 | ||
42 | return builds | 52 | return builds |