Bring things to new compile-r7rs

This commit is contained in:
retropikzel 2025-07-19 19:14:29 +03:00
parent da34379a83
commit 817a6e2933
2 changed files with 7 additions and 2 deletions

5
Jenkinsfile vendored
View File

@ -31,6 +31,11 @@ pipeline {
tests.each { test ->
stage("${implementation} ${test}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
if("${implementation}" == "chicken") {
DOCKERIMG="chicken:5"
} else {
DOCKERIMG="${implementation}:head"
}
sh "docker build --build-arg IMAGE=${DOCKERIMG} --build-arg SCHEME=${implementation} --tag=foreign-c-test-${implementation} -f dockerfiles/Dockerfile.test ."
sh "docker run -v ${WORKSPACE}:/workdir -w /workdir -t foreign-c-test-${implementation} sh -c \"timeout 120 make SCHEME=${implementation} TEST=${test} clean test\""
}

View File

@ -7,8 +7,8 @@ TEST=primitives
SCHEME=chibi
TMPDIR=tmp/${SCHEME}
DOCKERIMG=${SCHEME}:head
ifeq "${SCHEME}" "chicken:5"
DOCKERIMG=${SCHEME}
ifeq "${SCHEME}" "chicken"
DOCKERIMG="chicken:5"
endif
all: build ${TMPDIR}