Compare commits
4 Commits
897d8e1491
...
3095423e4f
| Author | SHA1 | Date |
|---|---|---|
|
|
3095423e4f | |
|
|
78a820373e | |
|
|
0b6de16fb4 | |
|
|
953f619558 |
|
|
@ -26,4 +26,3 @@ venv*
|
||||||
retropikzel/wasm/plus.sld
|
retropikzel/wasm/plus.sld
|
||||||
retropikzel/*.c
|
retropikzel/*.c
|
||||||
retropikzel/*.meta
|
retropikzel/*.meta
|
||||||
!builds.json
|
|
||||||
|
|
|
||||||
|
|
@ -25,23 +25,25 @@ pipeline {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
def config = readYaml file: 'builds.yaml'
|
"chibi sagittarius".split().each { scheme ->
|
||||||
config.builds.each { build ->
|
stage("${scheme}") {
|
||||||
stage("${build.name}") {
|
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image "${build.image}"
|
image "schemers/${scheme}:head"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
sh "apt-get update && apt-get install -y git ca-certificates gcc make libffi-dev"
|
||||||
build.stages.each { stage ->
|
sh "git clone https://github.com/ashinn/chibi-scheme.git --depth=1"
|
||||||
stage("${stage.name}") {
|
sh "rake -j8 -C chibi-scheme"
|
||||||
|
sh "make -j8 -C chibi-scheme install"
|
||||||
|
sh "snow-chibi install retropikzel.compile-r7rs"
|
||||||
|
"tap debug".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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
18
builds.json
18
builds.json
|
|
@ -1,18 +0,0 @@
|
||||||
{
|
|
||||||
"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