foreign-c/Jenkinsfile

43 lines
1.0 KiB
Groovy

def implementations = [
'chibi',
'chicken',
'gauche'
'guile',
'kawa',
'mosh',
'racket',
'sagittarius',
'stklos'
'ypsilon'
]
pipeline {
agent {
dockerfile {
filename 'Dockerfile.jenkins'
args '--user=root -v /var/run/docker.sock:/var/run/docker.sock'
}
}
options {
disableConcurrentBuilds()
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
}
stages {
stage('Testing') {
steps {
script {
implementations.each { implementation ->
stage("Test ${implementation} primitives") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make test-compile-r7rs-docker COMPILE_R7RS=${implementation} TESTNAME=primitives"
}
}
}
}
}
}
}
}