Fixing tests

This commit is contained in:
retropikzel 2025-10-17 08:07:37 +03:00
parent 87fa4f382c
commit 25f9948891
1 changed files with 12 additions and 3 deletions

View File

@ -1,12 +1,21 @@
ARG SCHEME=chibi ARG SCHEME=chibi
ARG IMAGE=${SCHEME}:head ARG IMAGE=${SCHEME}:head
FROM schemers/${IMAGE} FROM debian:trixie AS build
WORKDIR /build
RUN apt-get update && apt-get install -y gcc make git ca-certificates libffi-dev RUN apt-get update && apt-get install -y gcc make git ca-certificates libffi-dev
WORKDIR /build
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 git clone https://gitea.scheme.org/Retropikzel/compile-r7rs.git --depth=1 RUN git clone https://gitea.scheme.org/Retropikzel/compile-r7rs.git --depth=1
WORKDIR /build/chibi-scheme WORKDIR /build/chibi-scheme
RUN make && make install RUN make
ARG SCHEME=chibi
ARG IMAGE=${SCHEME}:head
FROM schemers/${IMAGE}
COPY --from=build /build /build
WORKDIR /build
RUN apt-get update && apt-get install -y gcc make libffi-dev
WORKDIR /build/chibi-scheme
RUN make install
RUN snow-chibi install --always-yes "(foreign c)" RUN snow-chibi install --always-yes "(foreign c)"
RUN snow-chibi install --always-yes "(srfi 170)" RUN snow-chibi install --always-yes "(srfi 170)"
WORKDIR /build/compile-r7rs WORKDIR /build/compile-r7rs