Making tests work

This commit is contained in:
retropikzel 2025-07-20 12:36:42 +03:00
parent 93d6eb1dd8
commit 9955fbd3fd
2 changed files with 5 additions and 4 deletions

View File

@ -6,7 +6,7 @@ VERSION=0.10.0
TEST=primitives
SCHEME=chibi
TMPDIR=tmp/${SCHEME}
DOCKERIMG=${SCHEME}
DOCKERIMG=${SCHEME}:head
ifeq "${SCHEME}" "chicken"
DOCKERIMG="chicken:5"
endif

View File

@ -3,14 +3,15 @@ ARG IMAGE=chibi:head
FROM schemers/${IMAGE}
RUN apt-get update && apt-get install -y \
build-essential \
git \
ca-certificates \
make \
libffi-dev \
pandoc
pandoc \
libmbedtls-dev
RUN mkdir -p ${HOME}/.snow && echo "()" > ${HOME}/.snow/config.scm
COPY --from=retropikzel1/compile-r7rs /opt/compile-r7rs /opt/compile-r7rs
ENV PATH=/opt/compile-r7rs/bin:${PATH}
ARG SCHEME=chibi
ENV COMPILE_R7RS=${SCHEME}
ENV GUILE_AUTO_COMPILE=0
RUN git clone https://github.com/ashinn/chibi-scheme.git --depth=1
RUN cd chibi-scheme && make && make install