From e27df2fa972a1da859bface99db3884f90ef1a14 Mon Sep 17 00:00:00 2001 From: retropikzel Date: Wed, 22 Jul 2026 16:43:31 +0300 Subject: [PATCH] New builds --- Jenkinsfile | 6 +++--- builds.yaml | 25 +++++++++++++------------ 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0826111..f33fd79 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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}" } diff --git a/builds.yaml b/builds.yaml index eb27fb0..01b6aac 100644 --- a/builds.yaml +++ b/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