Fixing tests
This commit is contained in:
parent
a70bbce0d9
commit
2f20943b09
|
|
@ -36,30 +36,19 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
stage('Test R7RS') {
|
stage('Test R7RS') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
def r7rs_implementations = "chibi chicken cyclone gambit foment gauche guile kawa larceny loko meevax mit-scheme mosh racket sagittarius skint stklos tr7 ypsilon".split()
|
def SCHEMES = "chibi chicken cyclone gambit foment gauche guile kawa larceny loko meevax mit-scheme mosh racket sagittarius skint stklos tr7 ypsilon"
|
||||||
r7rs_implementations.collectEntries { SCHEME ->
|
SCHEMES.split().each { SCHEME ->
|
||||||
[(SCHEME): {
|
stage("${SCHEME} R6RS") {
|
||||||
stage("${SCHEME} R7RS") {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
sh "make SCHEME=${SCHEME} test-r6rs-docker"
|
||||||
def DOCKERIMG="${SCHEME}:head"
|
|
||||||
if("${SCHEME}" == "chicken") {
|
|
||||||
DOCKERIMG="chicken:5"
|
|
||||||
}
|
|
||||||
sh "docker build -f Dockerfile.test --build-arg IMAGE=${DOCKERIMG} --build-arg SCHEME=${SCHEME} --tag=compile-r7rs-test-${SCHEME} ."
|
|
||||||
sh "docker run -v ${WORKSPACE}:/workdir -w /workdir -t compile-r7rs-test-${SCHEME} sh -c \"make && make install && make SCHEME=${SCHEME} test-r7rs\""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue