New builds

This commit is contained in:
retropikzel 2026-07-22 20:59:37 +03:00
parent 35fa514296
commit adcaaa5707
2 changed files with 22 additions and 26 deletions

15
Jenkinsfile vendored
View File

@ -5,9 +5,7 @@ pipeline {
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10')) buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
} }
stages { stages {
steps { stage('chibi') {
script {
stage('init') {
agent { agent {
docker { docker {
image 'schemers/chibi:head' image 'schemers/chibi:head'
@ -15,6 +13,9 @@ pipeline {
args:'--user=root' args:'--user=root'
} }
} }
steps {
script {
stage('init') {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
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'
@ -24,13 +25,6 @@ pipeline {
} }
} }
stage('tap') { stage('tap') {
agent {
docker {
image 'schemers/chibi:head'
reuseNode true
args:'--user=root'
}
}
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'COMPILE_R7RS=chibi compile-r7rs ' sh 'COMPILE_R7RS=chibi compile-r7rs '
} }
@ -39,3 +33,4 @@ pipeline {
} }
} }
} }
}

View File

@ -9,7 +9,8 @@
(list (string-append "COMPILE_R7RS=" scheme " compile-r7rs "))))) (list (string-append "COMPILE_R7RS=" scheme " compile-r7rs ")))))
(map (lambda (scheme) (map (lambda (scheme)
`((image ,(string-append "schemers/" scheme ":head")) `((name ,scheme)
(image ,(string-append "schemers/" scheme ":head"))
(stages (stages
(init ,@init) (init ,@init)
(tap ,@(tap scheme))))) (tap ,@(tap scheme)))))