diff --git a/Jenkinsfile b/Jenkinsfile index 7e842fe..6701b8d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,7 +26,7 @@ pipeline { stage("${implementation} snow-chibi install test") { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh "docker build --build-arg COMPILE_R7RS=${implementation} --tag=r7rs-pffi-test-${implementation} -f dockerfiles/Dockerfile.snow-chibi-install-test ." - sh "docker run -v ${WORKSPACE}:/workdir -w /workdir -t r7rs-pffi-test-${implementation} sh -c \"make build install COMPILE_R7RS=${implementation} && cp tests/hello.scm /tmp/ && cd /tmp && COMPILE_R7RS=${implementation} compile-r7rs -o hello hello.scm && ./hello\"" + sh "docker run -v ${WORKSPACE}:/workdir -w /workdir -t r7rs-pffi-test-${implementation} sh -c \"make build install-jenkins COMPILE_R7RS=${implementation} && cp tests/hello.scm /tmp/ && cd /tmp && COMPILE_R7RS=${implementation} compile-r7rs -o hello hello.scm && ./hello\"" } } } diff --git a/Makefile b/Makefile index 8acd7d3..27e3e1b 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,9 @@ build: documentation install: snow-chibi --impls=${COMPILE_R7RS} install foreign-c-${VERSION}.tgz +install-jenkins: + snow-chibi --impls=${COMPILE_R7RS} --always-yes install foreign-c-${VERSION}.tgz + test-java: tmp/test/libtest.o tmp/test/libtest.so tmp/test/libtest.a mkdir -p tmp/test cp kawa.jar tmp/test/