New builds
This commit is contained in:
parent
953f619558
commit
0b6de16fb4
|
|
@ -25,18 +25,22 @@ pipeline {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
def config = readYaml file: 'builds.yaml'
|
"chibi".split().each { scheme ->
|
||||||
config.builds.each { build ->
|
stage("${scheme}") {
|
||||||
stage("${build.name}") {
|
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image "${build.image}"
|
image "schemers/${scheme}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
build.stages.each { stage ->
|
sh "apt-get update && apt-get install -y git ca-certificates gcc make libffi-dev"
|
||||||
stage("${stage.name}") {
|
sh "git clone https://github.com/ashinn/chibi-scheme.git --depth=1"
|
||||||
|
sh "rake -j8 -C chibi-scheme"
|
||||||
|
sh "make -j8 -C chibi-scheme install"
|
||||||
|
sh "snow-chibi install retropikzel.compile-r7rs"
|
||||||
|
"tap".split().each { library ->
|
||||||
|
stage("${library}") {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
sh "${stage.cmd}"
|
sh "make SCHEME=${scheme} LIBRARY=${library} all install test"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue