diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-09-25 17:18:13 -0500 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-09-25 17:18:13 -0500 |
| commit | f0d8e65551129f9b441b880c4a8407bc5a35a5ef (patch) | |
| tree | c458ee89207b77fd6b8be68d839493704027e394 | |
| parent | e78ecdba666ffea5f476a206795fcec062a497a1 (diff) | |
| download | luarocks-packaging-f0d8e65551129f9b441b880c4a8407bc5a35a5ef.tar.gz luarocks-packaging-f0d8e65551129f9b441b880c4a8407bc5a35a5ef.tar.bz2 luarocks-packaging-f0d8e65551129f9b441b880c4a8407bc5a35a5ef.zip | |
Do all tests
| -rw-r--r-- | meta.lua | 19 |
1 files changed, 12 insertions, 7 deletions
| @@ -5,28 +5,22 @@ local lua_versions = { | |||
| 5 | bin = "lua.exe", | 5 | bin = "lua.exe", |
| 6 | dlib = "lua51.dll" | 6 | dlib = "lua51.dll" |
| 7 | }, | 7 | }, |
| 8 | --[[ | ||
| 9 | ["52"] = {"liblua.a", "lua.exe", "lua52.dll"}, | 8 | ["52"] = {"liblua.a", "lua.exe", "lua52.dll"}, |
| 10 | ["53"] = {"liblua.a", "lua.exe", "lua53.dll"}, | 9 | ["53"] = {"liblua.a", "lua.exe", "lua53.dll"}, |
| 11 | ["54"] = {"liblua.a", "lua.exe", "lua54.dll"}, | 10 | ["54"] = {"liblua.a", "lua.exe", "lua54.dll"}, |
| 12 | ["jit"] = {"libluajit.a", "luajit.exe", "lua51.dll"}, | 11 | ["jit"] = {"libluajit.a", "luajit.exe", "lua51.dll"}, |
| 13 | ]] | ||
| 14 | } | 12 | } |
| 15 | local optimizations = { | 13 | local optimizations = { |
| 16 | tiny = "-Oz", | 14 | tiny = "-Oz", |
| 17 | --[[ | ||
| 18 | size = "-Os", | 15 | size = "-Os", |
| 19 | debug = "-Og", | 16 | debug = "-Og", |
| 20 | zero = "-O0", | 17 | zero = "-O0", |
| 21 | one = "-O1", | 18 | one = "-O1", |
| 22 | two = "-O2", | 19 | two = "-O2", |
| 23 | three = "-O3", | 20 | three = "-O3", |
| 24 | ]] | ||
| 25 | } | 21 | } |
| 26 | local debug = { | 22 | local debug = { |
| 27 | --[[ | ||
| 28 | release = "", | 23 | release = "", |
| 29 | ]] | ||
| 30 | debug = "-g", | 24 | debug = "-g", |
| 31 | } | 25 | } |
| 32 | local compilers = {--[["mingw32",]]"mingw64"--[[,"clang32","clang64"]]} | 26 | local compilers = {--[["mingw32",]]"mingw64"--[[,"clang32","clang64"]]} |
| @@ -53,6 +47,17 @@ for version_k, version_v, opti_k, opti_v, debug_k, debug_v, comp_k, comp_v in ca | |||
| 53 | CFLAGS=" " .. opti_v .. " " .. debug_v, | 47 | CFLAGS=" " .. opti_v .. " " .. debug_v, |
| 54 | } | 48 | } |
| 55 | } | 49 | } |
| 56 | 50 | --[[ | |
| 51 | builds[name .. "-test"] = { | ||
| 52 | image="image-wine", | ||
| 53 | requires={ | ||
| 54 | {"cicd", name .. ":luarocks.exe"}, | ||
| 55 | {"cicd", "lua" .. version_k .. "-" .. opti_k .. "-" .. debug_k .. "-" .. comp_v .. ":" .. version_v.bin}, | ||
| 56 | {"cicd", "lua" .. version_k .. "-" .. opti_k .. "-" .. debug_k .. "-" .. comp_v .. ":" .. version_v.dlib}, | ||
| 57 | }, | ||
| 58 | produces = {}, | ||
| 59 | init = "test", | ||
| 60 | } | ||
| 61 | ]] | ||
| 57 | end | 62 | end |
| 58 | return builds | 63 | return builds |
