New builds

This commit is contained in:
retropikzel 2026-07-22 18:01:00 +03:00
parent 2777cfa5b0
commit 74f5577dfe
1 changed files with 26 additions and 16 deletions

42
Jenkinsfile vendored
View File

@ -21,23 +21,33 @@ pipeline {
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
}
environment {
BUILDS="chibi"
}
stages {
stage('chibi') {
agent {
docker {
image "schemers/chibi:head"
reuseNode true
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"
sh "make -j8 -C chibi-scheme"
sh "make -j8 -C chibi-scheme install"
sh "snow-chibi install retropikzel.compile-r7rs"
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make SCHEME=chibi LIBRARY=tap all install test"
steps {
script {
env.BUILDS.split().each { build ->
stage('${build}') {
agent {
docker {
image "schemers/chibi:head"
reuseNode true
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"
sh "make -j8 -C chibi-scheme"
sh "make -j8 -C chibi-scheme install"
sh "snow-chibi install retropikzel.compile-r7rs"
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make SCHEME=chibi LIBRARY=tap all install test"
}
}
}
}
}
}