New builds

This commit is contained in:
retropikzel 2026-07-22 18:03:09 +03:00
parent caa087729b
commit 70a022e318
1 changed files with 20 additions and 18 deletions

38
Jenkinsfile vendored
View File

@ -26,25 +26,27 @@ pipeline {
} }
stages { stages {
steps { stage('Builds') {
script { steps {
env.BUILDS.split().each { build -> script {
stage("${build}") { env.BUILDS.split().each { build ->
agent { stage("${build}") {
docker { agent {
image "schemers/chibi:head" docker {
reuseNode true image "schemers/chibi:head"
args '--user=root' reuseNode true
args '--user=root'
}
} }
} steps {
steps { sh "apt-get update && apt-get install -y git ca-certificates gcc make libffi-dev"
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 "git clone https://github.com/ashinn/chibi-scheme.git --depth=1" sh "make -j8 -C chibi-scheme"
sh "make -j8 -C chibi-scheme" sh "make -j8 -C chibi-scheme install"
sh "make -j8 -C chibi-scheme install" sh "snow-chibi install retropikzel.compile-r7rs"
sh "snow-chibi install retropikzel.compile-r7rs" 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" }
} }
} }
} }