summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta.lua15
1 files changed, 13 insertions, 2 deletions
diff --git a/meta.lua b/meta.lua
index ecaa906..52f03e1 100644
--- a/meta.lua
+++ b/meta.lua
@@ -5,12 +5,13 @@ local lua_versions = {
5 ["54"] = true, 5 ["54"] = true,
6} 6}
7local optimizations = { 7local 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",
12 two = "-O2", 12 two = "-O2",
13 three = "-O3", 13 three = "-O3",
14 debug = "-Og"
14} 15}
15local debug = { 16local debug = {
16 release = "", 17 release = "",
@@ -20,7 +21,8 @@ local compilers = {--[["mingw32",]]"mingw64"--[[,"clang32","clang64"]]}
20 21
21local builds = {} 22local builds = {}
22for version, _, name, optimization, rel, flag, _, image in cartesian(lua_versions, optimizations, debug, compilers) do 23for version, _, name, optimization, rel, flag, _, image in cartesian(lua_versions, optimizations, debug, compilers) do
23 builds["luafilesystem-" .. version .. "-" .. name .. "-" .. rel .. "-" .. image] = { 24 local buildname = "luafilesystem-" .. version .. "-" .. name .. "-" .. rel .. "-" .. image
25 builds[buildname] = {
24 image = "image-luarocks-" .. version.. "-" .. image, 26 image = "image-luarocks-" .. version.. "-" .. image,
25 requires = { 27 requires = {
26 {"git", "luafilesystem"}, 28 {"git", "luafilesystem"},
@@ -36,6 +38,15 @@ for version, _, name, optimization, rel, flag, _, image in cartesian(lua_version
36 version = version 38 version = version
37 }, 39 },
38 } 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 ]]
39end 50end
40 51
41return builds 52return builds