summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2025-04-23 22:02:03 -0500
committerAlexander M Pickering <alex@cogarr.net>2025-04-23 22:02:03 -0500
commitaff9ad469caa9c1cb01a7e4fc18912a639325e41 (patch)
treea2552a584a099e9130e9a76bf0acfac50d0752d8
parent11dda2576ed8460ad7ded51c4570133b3838f63c (diff)
downloadluafilesystem-packaging-master.tar.gz
luafilesystem-packaging-master.tar.bz2
luafilesystem-packaging-master.zip
Minor organizationHEADmaster
-rw-r--r--meta.lua14
1 files changed, 12 insertions, 2 deletions
diff --git a/meta.lua b/meta.lua
index 0f2be36..52f03e1 100644
--- a/meta.lua
+++ b/meta.lua
@@ -5,7 +5,7 @@ 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",
@@ -21,7 +21,8 @@ local compilers = {--[["mingw32",]]"mingw64"--[[,"clang32","clang64"]]}
21 21
22local builds = {} 22local builds = {}
23for 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
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 ]]
40end 50end
41 51
42return builds 52return builds