New builds
This commit is contained in:
parent
8c838e90a8
commit
1007f6437f
|
|
@ -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}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
21
builds.yaml
21
builds.yaml
|
|
@ -1,8 +1,6 @@
|
||||||
builds:
|
- image: schemers/chibi
|
||||||
- name: Chibi
|
|
||||||
image: schemers/chibi:head
|
|
||||||
stages:
|
stages:
|
||||||
- name: Init
|
- name: init
|
||||||
cmd: |
|
cmd: |
|
||||||
apt-get update && apt-get install -y git ca-certificates gcc make libffi-dev
|
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
|
git clone https://github.com/ashinn/chibi-scheme.git --depth=1
|
||||||
|
|
@ -10,17 +8,4 @@ builds:
|
||||||
make -j8 -C chibi-scheme install
|
make -j8 -C chibi-scheme install
|
||||||
snow-chibi install retropikzel.compile-r7rs
|
snow-chibi install retropikzel.compile-r7rs
|
||||||
- name: tap
|
- name: tap
|
||||||
cmd: COMPILE_R7RS=chibi compile-r7rs -o tap retropikzel/tap/test.scm && ./tap
|
cmd: make SCHEME=chibi LIBRARY=tap all install test
|
||||||
- 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
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue