Speeding up the tests

This commit is contained in:
retropikzel 2025-07-10 21:05:30 +03:00
parent c94aef805d
commit 7eb54ddfdd
1 changed files with 4 additions and 2 deletions

View File

@ -4,6 +4,8 @@ RUN apt-get update && apt-get install -y git make chicken-bin build-essential
RUN chicken-install r7rs RUN chicken-install r7rs
RUN git clone https://github.com/Retropikzel/compile-r7rs.git --depth=1 RUN git clone https://github.com/Retropikzel/compile-r7rs.git --depth=1
RUN cd compile-r7rs && make && make install RUN cd compile-r7rs && make && make install
RUN git clone https://github.com/ashinn/chibi-scheme.git --depth=1
RUN cd chibi-scheme && make && make PREFIX=/usr/local-other install
ARG SCHEME=chibi ARG SCHEME=chibi
FROM schemers/${SCHEME}:head FROM schemers/${SCHEME}:head
@ -21,8 +23,8 @@ RUN apt-get update && apt-get install -y \
markdown \ markdown \
pandoc \ pandoc \
weasyprint weasyprint
RUN git clone https://github.com/ashinn/chibi-scheme.git --depth=1 COPY --from=build /usr/local-other /usr/local-other
RUN cd chibi-scheme && make && make install ENV PATH=/usr/local-other/bin:${PATH}
COPY --from=build /usr/local/bin/compile-r7rs /usr/local/bin/compile-r7rs COPY --from=build /usr/local/bin/compile-r7rs /usr/local/bin/compile-r7rs
ARG SCHEME=chibi ARG SCHEME=chibi
ENV COMPILE_R7RS=${SCHEME} ENV COMPILE_R7RS=${SCHEME}