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