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')) buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
} }
environment {
BUILDS="chibi"
}
stages { stages {
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
steps { args '--user=root'
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" steps {
sh "make -j8 -C chibi-scheme install" sh "apt-get update && apt-get install -y git ca-certificates gcc make libffi-dev"
sh "snow-chibi install retropikzel.compile-r7rs" sh "git clone https://github.com/ashinn/chibi-scheme.git --depth=1"
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh "make -j8 -C chibi-scheme"
sh "make SCHEME=chibi LIBRARY=tap all install test" 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"
}
}
}
} }
} }
} }