New builds

This commit is contained in:
retropikzel 2026-07-22 18:05:10 +03:00
parent 70a022e318
commit 154a1ca507
1 changed files with 20 additions and 28 deletions

48
Jenkinsfile vendored
View File

@ -21,35 +21,27 @@ pipeline {
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10')) buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
} }
environment {
BUILDS="chibi"
}
stages { stages {
stage('Builds') { stage('chibi') {
steps { agent {
script { docker {
env.BUILDS.split().each { build -> image "schemers/chibi:head"
stage("${build}") { reuseNode true
agent { args '--user=root'
docker { }
image "schemers/chibi:head" }
reuseNode true stage('init) {
args '--user=root' steps {
} 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"
steps { sh "make -j8 -C chibi-scheme"
sh "apt-get update && apt-get install -y git ca-certificates gcc make libffi-dev" sh "make -j8 -C chibi-scheme install"
sh "git clone https://github.com/ashinn/chibi-scheme.git --depth=1" sh "snow-chibi install retropikzel.compile-r7rs"
sh "make -j8 -C chibi-scheme" }
sh "make -j8 -C chibi-scheme install" }
sh "snow-chibi install retropikzel.compile-r7rs" stage('tap) {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make SCHEME=chibi LIBRARY=tap all install test" sh "make SCHEME=chibi LIBRARY=tap all install test"
}
}
}
}
} }
} }
} }