Fixing tests

This commit is contained in:
retropikzel 2025-10-17 07:23:54 +03:00
parent b39e530f05
commit 6d37e7bba3
1 changed files with 6 additions and 8 deletions

14
Jenkinsfile vendored
View File

@ -1,6 +1,10 @@
pipeline { pipeline {
agent { agent {
label 'docker-x86_64' docker {
label 'docker-x86_64'
image 'retropikzel1/compile-r7rs'
args '--user=root --privileged -v /var/run/docker.socket:/var/run/docker.socket'
}
} }
options { options {
@ -36,14 +40,8 @@ pipeline {
IMG="${SCHEME}:5" IMG="${SCHEME}:5"
} }
stage("${SCHEME}") { stage("${SCHEME}") {
docker {
image "schemers/${IMG}"
label "docker-x86_64"
args "--user=root"
}
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "COMPILE_R7RS=${SCHEME} compile-r7rs/compile-r7rs -I . test.scm" sh "make SCHEME=${SCHEME} test-in-docker"
sh "make SCHEME=${SCHEME} test"
} }
} }
} }