Improving tests

This commit is contained in:
retropikzel 2025-12-06 08:22:37 +02:00
parent e0786c740d
commit ddcc80a22b
1 changed files with 12 additions and 10 deletions

22
Jenkinsfile vendored
View File

@ -30,8 +30,8 @@ pipeline {
stage('R6RS x86_64 Debian') { stage('R6RS x86_64 Debian') {
steps { steps {
script { script {
stages { params.LIBRARIES.split().each { LIBRARY ->
params.LIBRARIES.split().each { LIBRARY -> stage("${LIBRARY}") {
params.R6RS_SCHEMES.split().each { SCHEME -> params.R6RS_SCHEMES.split().each { SCHEME ->
def IMG="${SCHEME}:head" def IMG="${SCHEME}:head"
stage("${SCHEME} - ${LIBRARY}") { stage("${SCHEME} - ${LIBRARY}") {
@ -49,14 +49,16 @@ pipeline {
steps { steps {
script { script {
params.LIBRARIES.split().each { LIBRARY -> params.LIBRARIES.split().each { LIBRARY ->
params.R7RS_SCHEMES.split().each { SCHEME -> stage("${LIBRARY}") {
def IMG="${SCHEME}:head" params.R7RS_SCHEMES.split().each { SCHEME ->
if("${SCHEME}" == "chicken") { def IMG="${SCHEME}:head"
IMG="${SCHEME}:5" if("${SCHEME}" == "chicken") {
} IMG="${SCHEME}:5"
stage("${SCHEME} - ${LIBRARY}") { }
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { stage("${SCHEME} - ${LIBRARY}") {
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r7rs-docker" catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r7rs-docker"
}
} }
} }
} }