New builds
This commit is contained in:
parent
641d8fc7fb
commit
e27df2fa97
|
|
@ -26,15 +26,15 @@ pipeline {
|
|||
steps {
|
||||
script {
|
||||
def config = readYaml file: 'builds.yaml'
|
||||
config.each { build ->
|
||||
stage("WIP") {
|
||||
config.builds.each { build ->
|
||||
stage("${build.name}") {
|
||||
agent {
|
||||
docker {
|
||||
image "${build.image}"
|
||||
}
|
||||
}
|
||||
config.stages.each { stage ->
|
||||
stage("WIP") {
|
||||
stage("${stage.name}") {
|
||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||
sh "${stage.cmd}"
|
||||
}
|
||||
|
|
|
|||
25
builds.yaml
25
builds.yaml
|
|
@ -1,14 +1,15 @@
|
|||
- 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 -o tap retropikzel/tap/test.scm && ./tap
|
||||
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 -o tap retropikzel/tap/test.scm && ./tap
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue