Adding docker build and push to Jenkins

This commit is contained in:
retropikzel 2025-09-14 08:30:46 +03:00
parent fa2d86d60f
commit 8600a870e8
2 changed files with 6 additions and 4 deletions

View File

@ -7,8 +7,10 @@ RUN apt-get update && apt-get install -y \
docker.io \ docker.io \
libffi-dev \ libffi-dev \
pandoc pandoc
RUN git clone https://github.com/ashinn/chibi-scheme.git --depth=1 \ RUN git clone https://github.com/ashinn/chibi-scheme.git --depth=1
&& cd chibi-scheme && make -j 16 && make -j 16 install RUN cd chibi-scheme && make -j 16 && make -j 16 install
RUN snow-chibi install "(foreign c)"
RUN snow-chibi install "(srfi 170)"
WORKDIR /builddir WORKDIR /builddir
COPY Makefile . COPY Makefile .
COPY compile-r7rs.scm . COPY compile-r7rs.scm .

4
Jenkinsfile vendored
View File

@ -23,7 +23,7 @@ pipeline {
} }
steps { steps {
script { script {
def r6rs_implementations = sh(script: 'chibi-scheme -I ./snow -I . compile-r7rs.scm --list-r6rs-schemes', returnStdout: true).split() def r6rs_implementations = sh(script: 'chibi-scheme compile-r7rs.scm --list-r6rs-schemes', returnStdout: true).split()
parallel r6rs_implementations.collectEntries { implementation-> parallel r6rs_implementations.collectEntries { implementation->
[(implementation): { [(implementation): {
stage("${implementation} R6RS") { stage("${implementation} R6RS") {
@ -47,7 +47,7 @@ pipeline {
} }
steps { steps {
script { script {
def r7rs_implementations = sh(script: 'chibi-scheme -I ./snow -I . compile-r7rs.scm --list-r7rs-schemes', returnStdout: true).split() def r7rs_implementations = sh(script: 'chibi-scheme compile-r7rs.scm --list-r7rs-schemes', returnStdout: true).split()
parallel r7rs_implementations.collectEntries { implementation-> parallel r7rs_implementations.collectEntries { implementation->
[(implementation): { [(implementation): {
stage("${implementation} R7RS") { stage("${implementation} R7RS") {