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') {
steps {
script {
def config = readYaml file: 'builds.yaml'
config.builds.each { build ->
stage("${build.name}") {
"chibi".split().each { scheme ->
stage("${scheme}") {
agent {
docker {
image "${build.image}"
image "schemers/${scheme}"
}
}
build.stages.each { stage ->
stage("${stage.name}") {
sh "apt-get update && apt-get install -y git ca-certificates gcc make libffi-dev"
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') {
sh "${stage.cmd}"
sh "make SCHEME=${scheme} LIBRARY=${library} all install test"
}
}
}