New builds

This commit is contained in:
retropikzel 2026-07-23 07:06:53 +03:00
parent 6589b7173d
commit bdac5e5d7e
1 changed files with 10 additions and 10 deletions

20
Jenkinsfile vendored
View File

@ -41,8 +41,8 @@ pipeline {
} }
def get_chibi_stages() { def get_chibi_stages() {
return { def stages = []
stage('init') { stages['init'] = 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 || true' sh 'git clone https://github.com/ashinn/chibi-scheme.git --depth=1 || true'
@ -51,22 +51,22 @@ def get_chibi_stages() {
sh 'snow-chibi install retropikzel.compile-r7rs' sh 'snow-chibi install retropikzel.compile-r7rs'
} }
} }
stage('tap') { stages['tap'] = 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'
} }
} }
stage('debug') { stages['debug'] = stage('debug') {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=chibi LIBRARY=debug all install test' sh 'make SCHEME=chibi LIBRARY=debug all install test'
} }
} }
} return stages
} }
def get_sagittarius_stages() { def get_sagittarius_stages() {
return { def stages = []
stage('init') { stages['init'] = 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 || true' sh 'git clone https://github.com/ashinn/chibi-scheme.git --depth=1 || true'
@ -75,16 +75,16 @@ def get_sagittarius_stages() {
sh 'snow-chibi install retropikzel.compile-r7rs' sh 'snow-chibi install retropikzel.compile-r7rs'
} }
} }
stage('tap') { stages['tap'] = stage('tap') {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=sagittarius LIBRARY=tap all install test' sh 'make SCHEME=sagittarius LIBRARY=tap all install test'
} }
} }
stage('debug') { stages['debug'] = stage('debug') {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'make SCHEME=sagittarius LIBRARY=debug all install test' sh 'make SCHEME=sagittarius LIBRARY=debug all install test'
} }
} }
} return stages
} }