From afc2d6cce97fb1bebea3999ba74e592508fac73d Mon Sep 17 00:00:00 2001 From: retropikzel Date: Sat, 28 Jun 2025 06:34:16 +0300 Subject: [PATCH] Unstuck the builds --- Jenkinsfile | 2 +- Makefile | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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/