Testing dynamic Jenkinsfile

This commit is contained in:
retropikzel 2025-06-05 22:04:57 +03:00
parent 2551a61e76
commit a9ef93003b
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -26,7 +26,8 @@ pipeline {
implementations.each { implementation ->
stage("Test ${implementation} primitives") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make test-compile-r7rs-docker COMPILE_R7RS=${implementation} TESTNAME=primitives"
sh "docker build --build-arg COMPILE_R7RS=${implementation} --tag=r7rs-pffi-test-${implementation} -f Dockerfile.test .
sh "docker run -v "${PWD}":/workdir -w /workdir -t r7rs-pffi-test-${implementation} sh -c \"make COMPILE_R7RS=${implementation} TESTNAME=primitives test-compile-r7rs\""
}
}
}