Simplifying testing

This commit is contained in:
retropikzel 2025-02-28 13:03:42 +02:00
parent 771f93eca5
commit 434212a1f8
2 changed files with 15 additions and 85 deletions

96
Jenkinsfile vendored
View File

@ -12,161 +12,91 @@ pipeline {
} }
stages { stages {
stage('chibi') { stage('chibi script') {
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=chibi test-script-docker' sh 'make SCHEME=chibi test-script-docker'
} }
} }
} }
stage('chicken') { stage('chicken script') {
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=chicken test-script-docker' sh 'make SCHEME=chicken test-script-docker'
} }
} }
} }
stage('cyclone') { stage('guile script') {
steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=cyclone test-script-docker'
}
}
}
stage('gambit') {
steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=gambit test-script-docker'
}
}
}
stage('gauche') {
steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=gauche test-script-docker'
}
}
}
stage('gerbil') {
steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=gerbil test-script-docker'
}
}
}
stage('guile') {
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=guile test-script-docker' sh 'make SCHEME=guile test-script-docker'
} }
} }
} }
stage('kawa') { stage('kawa script') {
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=kawa test-script-docker' sh 'make SCHEME=kawa test-script-docker'
} }
} }
} }
stage('mosh') { stage('mosh script') {
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=mosh test-script-docker' sh 'make SCHEME=mosh test-script-docker'
} }
} }
} }
stage('racket') { stage('racket script') {
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=racket test-script-docker' sh 'make SCHEME=racket test-script-docker'
} }
} }
} }
stage('racket-wine') { stage('sagittarius script') {
steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=racket-wine test-script-docker'
}
}
}
stage('sagittarius') {
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=sagittarius test-script-docker' sh 'make SCHEME=sagittarius test-script-docker'
} }
} }
} }
stage('stklos') { stage('stklos script') {
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=stklos test-script-docker' sh 'make SCHEME=stklos test-script-docker'
} }
} }
} }
stage('skint') { stage('ypsilon script') {
steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=skint test-script-docker'
}
}
}
stage('tr7i') {
steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=tr7i test-script-docker'
}
}
}
stage('ypsilon') {
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=ypsilon test-script-docker' sh 'make SCHEME=ypsilon test-script-docker'
} }
} }
} }
stage('chicken') { stage('chicken compile') {
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=chicken test-compile-docker' sh 'make SCHEME=chicken test-compile-docker'
} }
} }
} }
stage('cyclone') { stage('cyclone compile') {
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=cyclone test-compile-docker' sh 'make SCHEME=cyclone test-compile-docker'
} }
} }
} }
stage('gambit') { stage('kawa compile') {
steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=gambit test-compile-docker'
}
}
}
stage('gauche') {
steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=gauche test-compile-docker'
}
}
}
stage('gerbil') {
steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=gerbil test-compile-docker'
}
}
}
stage('kawa') {
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=kawa test-compile-docker' sh 'make SCHEME=kawa test-compile-docker'
} }
} }
} }
stage('racket') { stage('racket compile') {
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=racket test-compile-docker' sh 'make SCHEME=racket test-compile-docker'

View File

@ -13,7 +13,7 @@ pipeline {
stages { stages {
{{#script-implementations}} {{#script-implementations}}
stage('{{.}}') { stage('{{.}} script') {
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME={{.}} test-script-docker' sh 'make SCHEME={{.}} test-script-docker'
@ -22,7 +22,7 @@ pipeline {
} }
{{/script-implementations}} {{/script-implementations}}
{{#compiler-implementations}} {{#compiler-implementations}}
stage('{{.}}') { stage('{{.}} compile') {
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME={{.}} test-compile-docker' sh 'make SCHEME={{.}} test-compile-docker'