1
0
Fork 0

Fixing tests

This commit is contained in:
retropikzel 2025-10-09 11:46:27 +03:00
parent a70bbce0d9
commit 2f20943b09
1 changed files with 6 additions and 17 deletions

23
Jenkinsfile vendored
View File

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