Compare commits
4 Commits
897d8e1491
...
3095423e4f
| Author | SHA1 | Date |
|---|---|---|
|
|
3095423e4f | |
|
|
78a820373e | |
|
|
0b6de16fb4 | |
|
|
953f619558 |
|
|
@ -26,4 +26,3 @@ venv*
|
|||
retropikzel/wasm/plus.sld
|
||||
retropikzel/*.c
|
||||
retropikzel/*.meta
|
||||
!builds.json
|
||||
|
|
|
|||
|
|
@ -25,23 +25,25 @@ pipeline {
|
|||
stage('Build') {
|
||||
steps {
|
||||
script {
|
||||
def config = readYaml file: 'builds.yaml'
|
||||
config.builds.each { build ->
|
||||
stage("${build.name}") {
|
||||
"chibi sagittarius".split().each { scheme ->
|
||||
stage("${scheme}") {
|
||||
agent {
|
||||
docker {
|
||||
image "${build.image}"
|
||||
image "schemers/${scheme}:head"
|
||||
}
|
||||
}
|
||||
/*
|
||||
build.stages.each { stage ->
|
||||
stage("${stage.name}") {
|
||||
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"
|
||||
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') {
|
||||
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