Unstuck the builds

This commit is contained in:
retropikzel 2025-06-28 06:34:16 +03:00
parent 3d15cc0d91
commit afc2d6cce9
2 changed files with 4 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -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\""
}
}
}

View File

@ -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/