New builds

This commit is contained in:
retropikzel 2026-07-22 18:19:57 +03:00
parent 8c838e90a8
commit 1007f6437f
2 changed files with 15 additions and 36 deletions

14
Jenkinsfile vendored
View File

@ -32,17 +32,11 @@ pipeline {
} }
steps { steps {
script { script {
''' def config = readYAML file: 'builds.yaml'
apt-get update && apt-get install -y git ca-certificates gcc make libffi-dev config.stages.each { item ->
git clone https://github.com/ashinn/chibi-scheme.git --depth=1 stage("${item.name}") {
make -j8 -C chibi-scheme
make -j8 -C chibi-scheme install
snow-chibi install retropikzel.compile-r7rs
make SCHEME=chibi LIBRARY=tap all install test
'''.split("\n").each { cmd ->
stage("wip") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "${cmd}" sh "${item.cmd}"
} }
} }
} }

View File

@ -1,26 +1,11 @@
builds: - image: schemers/chibi
- name: Chibi stages:
image: schemers/chibi:head - name: init
stages: cmd: |
- name: Init apt-get update && apt-get install -y git ca-certificates gcc make libffi-dev
cmd: | git clone https://github.com/ashinn/chibi-scheme.git --depth=1
apt-get update && apt-get install -y git ca-certificates gcc make libffi-dev make -j8 -C chibi-scheme
git clone https://github.com/ashinn/chibi-scheme.git --depth=1 make -j8 -C chibi-scheme install
make -j8 -C chibi-scheme snow-chibi install retropikzel.compile-r7rs
make -j8 -C chibi-scheme install - name: tap
snow-chibi install retropikzel.compile-r7rs cmd: make SCHEME=chibi LIBRARY=tap all install test
- name: tap
cmd: COMPILE_R7RS=chibi compile-r7rs -o tap retropikzel/tap/test.scm && ./tap
- name: Sagittarius
image: schemers/sagittarius:head
stages:
- name: Init
cmd: |
apt-get update && apt-get install -y git ca-certificates gcc make libffi-dev
git clone https://github.com/ashinn/chibi-scheme.git --depth=1
make -j8 -C chibi-scheme
make -j8 -C chibi-scheme install
snow-chibi install retropikzel.compile-r7rs
- name: tap
cmd: COMPILE_R7RS=sagittarius compile-r7rs -o tap retropikzel/tap/test.scm && ./tap