1
0
Fork 0

Adding release builds

This commit is contained in:
retropikzel 2025-12-11 10:44:55 +02:00
parent f708942ae5
commit 136b5efb60
1 changed files with 22 additions and 23 deletions

45
Jenkinsfile vendored
View File

@ -3,19 +3,19 @@ pipeline {
agent {
dockerfile {
label 'docker-x86_64'
filename 'Dockerfile.jenkins'
args '--user=root --privileged -v /var/run/docker.sock:/var/run/docker.sock'
filename 'Dockerfile.jenkins'
args '--user=root --privileged -v /var/run/docker.sock:/var/run/docker.sock'
}
}
options {
disableConcurrentBuilds()
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
}
parameters {
string(name: 'R6RS_SCHEMES', defaultValue: 'capyscheme chezscheme guile ikarus ironscheme larceny loko mosh racket sagittarius ypsilon', description: '')
string(name: 'R7RS_SCHEMES', defaultValue: 'capyscheme chibi chicken cyclone gambit foment gauche guile kawa larceny loko meevax mit-scheme mosh racket sagittarius skint stklos tr7 ypsilon', description: '')
string(name: 'R7RS_SCHEMES', defaultValue: 'capyscheme chibi chicken cyclone gambit foment gauche guile kawa larceny loko meevax mit-scheme mosh racket sagittarius skint stklos tr7 ypsilon', description: '')
}
stages {
@ -23,34 +23,33 @@ pipeline {
when { not { branch 'release' } }
steps {
sh "make build-chibi"
sh "make install"
sh "make install"
}
}
stage('Test') {
stage('R6RS') {
when { not { branch 'release' } }
stage('R6RS') {
steps {
script {
R7RS_SCHEMES.split().each { SCHEME ->
stage("${SCHEME} R6RS") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make SCHEME=${SCHEME} test-r6rs-docker"
}
steps {
script {
R7RS_SCHEMES.split().each { SCHEME ->
stage("${SCHEME} R6RS") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make SCHEME=${SCHEME} test-r6rs-docker"
}
}
}
}
}
}
stage('R7RS') {
steps {
script {
R7RS_SCHEMES.split().each { SCHEME ->
stage("${SCHEME} R7RS") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make SCHEME=${SCHEME} test-r7rs-docker"
}
stage('R7RS') {
when { not { branch 'release' } }
steps {
script {
R7RS_SCHEMES.split().each { SCHEME ->
stage("${SCHEME} R7RS") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make SCHEME=${SCHEME} test-r7rs-docker"
}
}
}
@ -61,7 +60,7 @@ pipeline {
stage('.deb package') {
steps {
sh "make deb"
archiveArtifacts artifacts: '*.deb', allowEmptyArchive: true, fingerprint: true, onlyIfSuccessful: true
archiveArtifacts artifacts: '*.deb', allowEmptyArchive: true, fingerprint: true, onlyIfSuccessful: true
}
}
}