Compare commits

..

No commits in common. "3095423e4f1a5f681a6d6b459f356164bba54313" and "897d8e1491b0b2b1a354dd48864edc8c9133d2a2" have entirely different histories.

3 changed files with 28 additions and 11 deletions

1
.gitignore vendored
View File

@ -26,3 +26,4 @@ venv*
retropikzel/wasm/plus.sld retropikzel/wasm/plus.sld
retropikzel/*.c retropikzel/*.c
retropikzel/*.meta retropikzel/*.meta
!builds.json

20
Jenkinsfile vendored
View File

@ -25,25 +25,23 @@ pipeline {
stage('Build') { stage('Build') {
steps { steps {
script { script {
"chibi sagittarius".split().each { scheme -> def config = readYaml file: 'builds.yaml'
stage("${scheme}") { config.builds.each { build ->
stage("${build.name}") {
agent { agent {
docker { docker {
image "schemers/${scheme}:head" image "${build.image}"
} }
} }
sh "apt-get update && apt-get install -y git ca-certificates gcc make libffi-dev" /*
sh "git clone https://github.com/ashinn/chibi-scheme.git --depth=1" build.stages.each { stage ->
sh "rake -j8 -C chibi-scheme" stage("${stage.name}") {
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 "make SCHEME=${scheme} LIBRARY=${library} all install test" sh "${stage.cmd}"
} }
} }
} }
*/
} }
} }
} }

18
builds.json Normal file
View File

@ -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"
}
]
}
]
}