Fix Jenkins tests

This commit is contained in:
retropikzel 2026-07-04 17:09:04 +03:00
parent 4811e9d5ad
commit d67cb2513d
2 changed files with 25 additions and 8 deletions

20
Jenkinsfile vendored
View File

@ -38,10 +38,12 @@ pipeline {
steps {
script {
env.SRFIS.split().each { SRFI ->
env.R6RS_SCHEMES.split().each { SCHEME ->
stage("${SCHEME} ${SRFI}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make SCHEME=${SCHEME} SRFI=${SRFI} RNRS=r6rs test-docker"
stage("${SRFI}") {
env.R6RS_SCHEMES.split().each { SCHEME ->
stage("${SCHEME} ${SRFI}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make SCHEME=${SCHEME} SRFI=${SRFI} RNRS=r6rs test-docker"
}
}
}
}
@ -53,10 +55,12 @@ pipeline {
steps {
script {
env.SRFIS.split().each { SRFI ->
env.R7RS_SCHEMES.split().each { SCHEME ->
stage("${SCHEME} ${SRFI}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make SCHEME=${SCHEME} SRFI=${SRFI} RNRS=r7rs test-docker"
stage("${SRFI}") {
env.R7RS_SCHEMES.split().each { SCHEME ->
stage("${SCHEME} ${SRFI}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make SCHEME=${SCHEME} SRFI=${SRFI} RNRS=r7rs test-docker"
}
}
}
}

View File

@ -2,6 +2,7 @@ SCHEME=chibi
RNRS=r7rs
SRFI=170
AUTHOR=Retropikzel
DOCKER_TAG=latest
SRFI_FILE=srfi/${SRFI}.sld
VERSION=$(shell cat srfi/${SRFI}/VERSION)
@ -19,7 +20,19 @@ SFX=sps
AKKU_PACKAGES="akku-r7rs"
endif
ifeq "${SCHEME}" "capyscheme"
DOCKER_TAG=head
endif
ifeq "${SCHEME}" "chibi"
DOCKER_TAG=head
endif
ifeq "${SCHEME}" "chicken"
DOCKER_TAG=head
endif
ifeq "${SCHEME}" "gauche"
DOCKER_TAG=head
endif
all: package