work, please
This commit is contained in:
@@ -22,9 +22,12 @@ class SDK {
|
|||||||
//steps.print("file: /${steps.env.SHSSDK_DIR}/platforms.json")
|
//steps.print("file: /${steps.env.SHSSDK_DIR}/platforms.json")
|
||||||
|
|
||||||
def taglist = steps.sh(script: "cd \"${steps.env.SHSSDK_DIR}\" && ls -1d */", returnStdout: true).trim().split('\n')
|
def taglist = steps.sh(script: "cd \"${steps.env.SHSSDK_DIR}\" && ls -1d */", returnStdout: true).trim().split('\n')
|
||||||
for (tag in taglist) {
|
for (dir in taglist) {
|
||||||
if (!tag.startsWith('v') || !tag.endsWith('/')) continue
|
if (!dir.startsWith('v') || !dir.endsWith('/')) continue
|
||||||
try {
|
try {
|
||||||
|
def tag = dir.trim()
|
||||||
|
tag = tag.substring(0, tag.length() - 1)
|
||||||
|
steps.print("build for \"${tag}\"")
|
||||||
pl._root = steps.readJSON(file: "${steps.env.SHSSDK_DIR}/${tag}/platforms.json")
|
pl._root = steps.readJSON(file: "${steps.env.SHSSDK_DIR}/${tag}/platforms.json")
|
||||||
pl.forEach ({ dist, cmake_toolchain ->
|
pl.forEach ({ dist, cmake_toolchain ->
|
||||||
//steps.print("compile in ${dist.docker_image} with arg ${cmake_toolchain}")
|
//steps.print("compile in ${dist.docker_image} with arg ${cmake_toolchain}")
|
||||||
|
|||||||
Reference in New Issue
Block a user