Bring things to new compile-r7rs
This commit is contained in:
parent
ef75b4c4f7
commit
f2b8ae0590
|
|
@ -19,10 +19,10 @@ pipeline {
|
||||||
[(implementation): {
|
[(implementation): {
|
||||||
stage("${implementation} install") {
|
stage("${implementation} install") {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
if("${SCHEME}" == "chicken") {
|
if("${implementation}" == "chicken") {
|
||||||
DOCKERIMG="${SCHEME}:5"
|
DOCKERIMG="${implementation}:5"
|
||||||
} else {
|
} else {
|
||||||
DOCKERIMG="${SCHEME}:head"
|
DOCKERIMG="${implementation}:head"
|
||||||
}
|
}
|
||||||
sh "docker build --build-arg IMAGE=${DOCKERIMG} --build-arg SCHEME=${implementation} --tag=foreign-c-test-${implementation} -f dockerfiles/Dockerfile.snow-chibi-install-test ."
|
sh "docker build --build-arg IMAGE=${DOCKERIMG} --build-arg SCHEME=${implementation} --tag=foreign-c-test-${implementation} -f dockerfiles/Dockerfile.snow-chibi-install-test ."
|
||||||
sh "docker run -v ${WORKSPACE}:/workdir -w /workdir -t foreign-c-test-${implementation} sh -c \"timeout 120 make clean all install-jenkins SCHEME=${implementation} && cp tests/hello.scm /tmp/ && cd /tmp && SCHEME=${implementation} timeout 120 compile-r7rs -o hello hello.scm && timeout 120 ./hello\""
|
sh "docker run -v ${WORKSPACE}:/workdir -w /workdir -t foreign-c-test-${implementation} sh -c \"timeout 120 make clean all install-jenkins SCHEME=${implementation} && cp tests/hello.scm /tmp/ && cd /tmp && SCHEME=${implementation} timeout 120 compile-r7rs -o hello hello.scm && timeout 120 ./hello\""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue