Fixing testing

This commit is contained in:
retropikzel 2026-03-12 07:56:44 +02:00
parent 9eebd513d9
commit 41191af6cc
1 changed files with 23 additions and 26 deletions

49
Jenkinsfile vendored
View File

@ -19,31 +19,29 @@ pipeline {
} }
stages { stages {
stage('Tests') { stage('R6RS') {
stage('R6RS') { steps {
steps { script {
script { params.LIBRARIES.split().each { LIBRARY ->
params.LIBRARIES.split().each { LIBRARY -> stage("${LIBRARY}") {
stage("${LIBRARY}") { params.R6RS_SCHEMES.split().each { SCHEME ->
params.R6RS_SCHEMES.split().each { SCHEME -> catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r6rs run-test-docker"
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r6rs run-test-docker" }
} }
} }
} }
} }
} }
} }
} stage('R7RS') {
stage('R7RS') { steps {
steps { script {
script { params.LIBRARIES.split().each { LIBRARY ->
params.LIBRARIES.split().each { LIBRARY -> stage("${LIBRARY}") {
stage("${LIBRARY}") { params.R7RS_SCHEMESsplit().each { SCHEME ->
params.R7RS_SCHEMESsplit().each { SCHEME -> catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r7rs run-test-docker"
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r7rs run-test-docker"
}
} }
} }
} }
@ -51,6 +49,5 @@ pipeline {
} }
} }
} }
} }
} }