Fixing Jenkins tests

This commit is contained in:
retropikzel 2025-07-09 22:21:39 +03:00
parent ebb8c959cc
commit f97d9c98e3
1 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,10 @@
FROM debian:bookworm-slim AS build
RUN apt-get update && apt-get install -y \
chicken-bin
RUN chicken-install r7rs
RUN git clone https://gitea.scheme.org/Retropikzel/compile-r7rs.git --depth=1
RUN cd compile-r7rs && make && make install
ARG SCHEME=chibi ARG SCHEME=chibi
FROM schemers/${SCHEME} FROM schemers/${SCHEME}
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
@ -13,13 +20,11 @@ RUN apt-get update && apt-get install -y \
libmbedtls-dev \ libmbedtls-dev \
markdown \ markdown \
pandoc \ pandoc \
weasyprint \ weasyprint
chicken-bin COPY --from=build /usr/local/ /usr/local-other
ENV PATH=/usr/local-other:${PATH}
RUN git clone https://github.com/ashinn/chibi-scheme.git --depth=1 RUN git clone https://github.com/ashinn/chibi-scheme.git --depth=1
RUN cd chibi-scheme && make && make install RUN cd chibi-scheme && make && make install
RUN chicken-install r7rs
RUN git clone https://gitea.scheme.org/Retropikzel/compile-r7rs.git --depth=1
RUN cd compile-r7rs && make && make install
ARG SCHEME=chibi ARG SCHEME=chibi
ENV COMPILE_R7RS=${SCHEME} ENV COMPILE_R7RS=${SCHEME}
RUN mkdir -p ${HOME}/.snow && echo "()" > ${HOME}/.snow/config.scm RUN mkdir -p ${HOME}/.snow && echo "()" > ${HOME}/.snow/config.scm