Improve Jenkins test structure

This commit is contained in:
retropikzel 2026-07-03 06:39:18 +03:00
parent 9caf832822
commit 45d848c79d
4 changed files with 15 additions and 9 deletions

8
Jenkinsfile vendored
View File

@ -36,8 +36,9 @@ pipeline {
steps {
script {
env.LIBRARIES.split().each { LIBRARY ->
stage("${LIBRARY}") {
env.R6RS_SCHEMES.split().each { SCHEME ->
stage("${SCHEME} ${LIBRARY}") {
stage("${SCHEME}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r6rs test-docker"
}
@ -47,12 +48,14 @@ pipeline {
}
}
}
}
stage('Test R7RS Debian') {
steps {
script {
env.LIBRARIES.split().each { LIBRARY ->
stage("${LIBRARY}") {
env.R7RS_SCHEMES.split().each { SCHEME ->
stage("${SCHEME} ${LIBRARY}") {
stage("${SCHEME}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r7rs test-docker"
}
@ -63,6 +66,7 @@ pipeline {
}
}
}
}
post {
always {
cleanWs()

View File

@ -5,7 +5,7 @@ LIBRARY=system
AUTHOR=Retropikzel
SFX=scm
LIB_PATHS=-I .
LIB_PATHS=
ifeq "${RNRS}" "r6rs"
SFX=sps
LIB_PATHS=-I .akku/lib

View File

@ -0,0 +1 @@
libcurl4-openssl-dev

View File

@ -0,0 +1 @@
--foreign-depends curl