New builds

This commit is contained in:
retropikzel 2026-07-22 17:07:19 +03:00
parent 953f619558
commit 0b6de16fb4
1 changed files with 11 additions and 7 deletions

18
Jenkinsfile vendored
View File

@ -25,18 +25,22 @@ pipeline {
stage('Build') { stage('Build') {
steps { steps {
script { script {
def config = readYaml file: 'builds.yaml' "chibi".split().each { scheme ->
config.builds.each { build -> stage("${scheme}") {
stage("${build.name}") {
agent { agent {
docker { docker {
image "${build.image}" image "schemers/${scheme}"
} }
} }
build.stages.each { stage -> sh "apt-get update && apt-get install -y git ca-certificates gcc make libffi-dev"
stage("${stage.name}") { sh "git clone https://github.com/ashinn/chibi-scheme.git --depth=1"
sh "rake -j8 -C chibi-scheme"
sh "make -j8 -C chibi-scheme install"
sh "snow-chibi install retropikzel.compile-r7rs"
"tap".split().each { library ->
stage("${library}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "${stage.cmd}" sh "make SCHEME=${scheme} LIBRARY=${library} all install test"
} }
} }
} }