From 1007f6437f0c3716c9e6a3ee379bf35afbce5bfb Mon Sep 17 00:00:00 2001 From: retropikzel Date: Wed, 22 Jul 2026 18:19:57 +0300 Subject: [PATCH] New builds --- Jenkinsfile | 14 ++++---------- builds.yaml | 37 +++++++++++-------------------------- 2 files changed, 15 insertions(+), 36 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 835c931..c115791 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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}" } } } diff --git a/builds.yaml b/builds.yaml index 9bb571d..18e5b1a 100644 --- a/builds.yaml +++ b/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