1
0
Fork 0

Fixing tests

This commit is contained in:
retropikzel 2025-12-04 11:57:15 +02:00
parent 8ecaaa8d5a
commit b2f72f5d77
1 changed files with 25 additions and 18 deletions

43
Jenkinsfile vendored
View File

@ -13,6 +13,11 @@ pipeline {
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10')) buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
} }
parameters {
string(name: 'R6RS_SCHEMES', defaultValue: 'capyscheme chezscheme guile ikarus ironscheme larceny loko mosh racket sagittarius ypsilon', description: '')
string(name: 'R7RS_SCHEMES', defaultValue: 'capyscheme chibi chicken cyclone gambit foment gauche guile kawa larceny loko meevax mit-scheme mosh racket sagittarius skint stklos tr7 ypsilon', description: '')
}
stages { stages {
stage('Build and install') { stage('Build and install') {
steps { steps {
@ -21,29 +26,31 @@ pipeline {
} }
} }
stage('Test R6RS') { stage('Test') {
steps { parallel {
script { stage('R6RS') {
def SCHEMES = "chezscheme guile ikarus ironscheme larceny loko mosh racket sagittarius ypsilon" steps {
SCHEMES.split().each { SCHEME -> script {
stage("${SCHEME} R6RS") { R7RS_SCHEMES.split().each { SCHEME ->
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { stage("${SCHEME} R6RS") {
sh "make SCHEME=${SCHEME} test-r6rs-docker" catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make SCHEME=${SCHEME} test-r6rs-docker"
}
}
} }
} }
} }
} }
}
}
stage('Test R7RS') { stage('R7RS') {
steps { steps {
script { script {
def SCHEMES = "chibi chicken cyclone gambit foment gauche guile kawa larceny loko meevax mit-scheme mosh racket sagittarius skint stklos tr7 ypsilon" R7RS_SCHEMES.split().each { SCHEME ->
SCHEMES.split().each { SCHEME -> stage("${SCHEME} R7RS") {
stage("${SCHEME} R7RS") { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh "make SCHEME=${SCHEME} test-r7rs-docker"
sh "make SCHEME=${SCHEME} test-r7rs-docker" }
}
} }
} }
} }