New builds
This commit is contained in:
parent
8c838e90a8
commit
1007f6437f
|
|
@ -32,17 +32,11 @@ pipeline {
|
|||
}
|
||||
steps {
|
||||
script {
|
||||
'''
|
||||
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
|
||||
make SCHEME=chibi LIBRARY=tap all install test
|
||||
'''.split("\n").each { cmd ->
|
||||
stage("wip") {
|
||||
def config = readYAML file: 'builds.yaml'
|
||||
config.stages.each { item ->
|
||||
stage("${item.name}") {
|
||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||
sh "${cmd}"
|
||||
sh "${item.cmd}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
37
builds.yaml
37
builds.yaml
|
|
@ -1,26 +1,11 @@
|
|||
builds:
|
||||
- name: Chibi
|
||||
image: schemers/chibi: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=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
|
||||
|
||||
- image: schemers/chibi
|
||||
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: make SCHEME=chibi LIBRARY=tap all install test
|
||||
|
|
|
|||
Loading…
Reference in New Issue