Updating tests

This commit is contained in:
retropikzel 2025-09-26 13:37:44 +03:00
parent 8932d84664
commit 1d3e8bb637
1 changed files with 7 additions and 15 deletions

22
Jenkinsfile vendored
View File

@ -7,7 +7,7 @@ pipeline {
options { options {
disableConcurrentBuilds() disableConcurrentBuilds()
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10')) buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
} }
stages { stages {
@ -16,24 +16,16 @@ pipeline {
agent { agent {
docker { docker {
label 'docker-x86_64' label 'docker-x86_64'
image 'retropikzel1/compile-r7rs' image 'retropikzel1/compile-r7rs'
args '--user=root --privileged -v /var/run/docker.sock:/var/run/docker.sock' args '--user=root --privileged -v /var/run/docker.sock:/var/run/docker.sock'
} }
} }
environment {
COMPILE_R7RS='chibi chicken gauche guile kawa mosh racket sagittarius stklos ypsilon'
}
steps { steps {
script { sh "test-r7rs test.scm"
def schemes = "chibi chicken gauche guile kawa mosh racket sagittarius stklos ypsilon"
schemes.split().each { SCHEME ->
stage("${SCHEME}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "COMPILE_R7RS=${SCHEME} test-r7rs test.scm"
}
}
}
}
} }
} }
} }
} }