Bring things to new compile-r7rs
This commit is contained in:
parent
da34379a83
commit
817a6e2933
|
|
@ -31,6 +31,11 @@ pipeline {
|
||||||
tests.each { test ->
|
tests.each { test ->
|
||||||
stage("${implementation} ${test}") {
|
stage("${implementation} ${test}") {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
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 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\""
|
sh "docker run -v ${WORKSPACE}:/workdir -w /workdir -t foreign-c-test-${implementation} sh -c \"timeout 120 make SCHEME=${implementation} TEST=${test} clean test\""
|
||||||
}
|
}
|
||||||
|
|
|
||||||
4
Makefile
4
Makefile
|
|
@ -7,8 +7,8 @@ TEST=primitives
|
||||||
SCHEME=chibi
|
SCHEME=chibi
|
||||||
TMPDIR=tmp/${SCHEME}
|
TMPDIR=tmp/${SCHEME}
|
||||||
DOCKERIMG=${SCHEME}:head
|
DOCKERIMG=${SCHEME}:head
|
||||||
ifeq "${SCHEME}" "chicken:5"
|
ifeq "${SCHEME}" "chicken"
|
||||||
DOCKERIMG=${SCHEME}
|
DOCKERIMG="chicken:5"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all: build ${TMPDIR}
|
all: build ${TMPDIR}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue