Compare commits
3 Commits
10cd26f963
...
23e1118730
| Author | SHA1 | Date |
|---|---|---|
|
|
23e1118730 | |
|
|
64ea3b5ca5 | |
|
|
5ca3fc468b |
|
|
@ -26,3 +26,4 @@ venv*
|
||||||
retropikzel/wasm/plus.sld
|
retropikzel/wasm/plus.sld
|
||||||
retropikzel/*.c
|
retropikzel/*.c
|
||||||
retropikzel/*.meta
|
retropikzel/*.meta
|
||||||
|
!builds.json
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ pipeline {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
def config = readYaml file: 'builds.yaml'
|
def config = readJSON file: 'builds.json'
|
||||||
config.builds.each { build ->
|
config.builds.each { build ->
|
||||||
stage("${build.name}") {
|
stage("${build.name}") {
|
||||||
agent {
|
agent {
|
||||||
|
|
@ -33,7 +33,6 @@ pipeline {
|
||||||
image "${build.image}"
|
image "${build.image}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
build.stages.each { stage ->
|
build.stages.each { stage ->
|
||||||
stage("${stage.name}") {
|
stage("${stage.name}") {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
|
|
@ -41,7 +40,6 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
"builds": [
|
||||||
|
{
|
||||||
|
"name": "Chibi",
|
||||||
|
"image": "schemers/chibi:head",
|
||||||
|
"stages": [
|
||||||
|
{
|
||||||
|
"name": "Init",
|
||||||
|
"cmd": "apt-get update && apt-get install -y git ca-certificates gcc make libffi-dev && git clone https://github.com/ashinn/chibi-scheme.git --depth=1 && make -j8 -C chibi-scheme && make -j8 -C chibi-scheme install && snow-chibi install retropikzel.compile-r7rs"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "tap",
|
||||||
|
"cmd": "COMPILE_R7RS=chibi compile-r7rs -o tap retropikzel/tap/test.scm && ./tap"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue