New builds

This commit is contained in:
retropikzel 2026-07-23 07:25:57 +03:00
parent 96ad8c50c2
commit 322d4c11a1
1 changed files with 40 additions and 42 deletions

82
Jenkinsfile vendored
View File

@ -17,8 +17,7 @@ pipeline {
} }
steps { steps {
script { script {
def stages = get_chibi_stages() get_chibi_stages()
parallel stages
} }
} }
} }
@ -32,8 +31,7 @@ pipeline {
} }
steps { steps {
script { script {
def stages = get_sagittarius_stages() get_sagittarius_stages()
parallel stages
} }
} }
} }
@ -42,49 +40,49 @@ pipeline {
def get_chibi_stages() { def get_chibi_stages() {
def stages = [] def stages = []
stages.plus(stage('init') { stages.plus(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'
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'
} }
}) })
stages.plus(stage('tap') { stages.plus(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'
} }
}) })
stages.plus(stage('debug') { stages.plus(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 return stages
} }
def get_sagittarius_stages() { def get_sagittarius_stages() {
def stages = [] def stages = []
stages.plus(stage('init') { stages.plus(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'
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'
} }
}) })
stages.plus(stage('tap') { stages.plus(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'
} }
}) })
stages.plus(stage('debug') { stages.plus(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 return stages
} }