41 lines
1.2 KiB
Groovy
41 lines
1.2 KiB
Groovy
def tests = ['primitives', 'array', 'struct', 'addressof', 'callback']
|
|
|
|
pipeline {
|
|
agent {
|
|
label 'linux'
|
|
}
|
|
|
|
options {
|
|
disableConcurrentBuilds()
|
|
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
|
|
}
|
|
|
|
stages {
|
|
|
|
stage('Tests x86_64 Debian') {
|
|
agent {
|
|
docker {
|
|
label 'docker-x86_64'
|
|
image 'retropikzel1/compile-r7rs'
|
|
args '--user=root --privileged -v /var/run/docker.sock:/var/run/docker.sock'
|
|
}
|
|
}
|
|
steps {
|
|
script {
|
|
//def implementations = sh(script: 'docker run retropikzel1/compile-r7rs sh -c "compile-r7rs --list-r7rs-schemes"', returnStdout: true).split()
|
|
def schemes = "chibi chicken gauche guile kawa mosh racket sagittarius stklos ypsilon"
|
|
|
|
schemes.split().each { SCHEME ->
|
|
stage("${SCHEME}") {
|
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
|
sh "test-r7rs test.scm"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|