Fix testing

This commit is contained in:
retropikzel 2025-12-11 21:23:08 +02:00
parent 84d8a68ce3
commit c22a7005e7
2 changed files with 8 additions and 7 deletions

View File

@ -8,7 +8,8 @@ WORKDIR /build
RUN wget https://gitlab.com/-/project/6808260/uploads/094ce726ce3c6cf8c14560f1e31aaea0/akku-1.1.0.amd64-linux.tar.xz \
&& tar -xf akku-1.1.0.amd64-linux.tar.xz \
&& mv akku-1.1.0.amd64-linux akku
RUN git clone https://github.com/ashinn/chibi-scheme.git --depth=2
#RUN git clone https://github.com/ashinn/chibi-scheme.git --depth=2
RUN git clone https://github.com/Retropikzel/chibi-scheme.git --branch=snow-chibi-kawa-fixes --depth=1
RUN git clone https://codeberg.org/retropikzel/compile-scheme.git --depth=2
RUN git clone https://github.com/srfi-explorations/r7rs-srfi.git --branch=retropikzel-fixes --depth=4
WORKDIR /build/chibi-scheme
@ -38,11 +39,11 @@ RUN bash install.sh
ENV PATH=/root/.local/bin:${PATH}
RUN akku update
WORKDIR /build/r7rs-srfi
RUN make SCHEME=${SCHEME} SRFI=60 SNOW_FORT_ARGS=--always-yes build install
RUN make SCHEME=${SCHEME} SRFI=39 SNOW_FORT_ARGS=--always-yes build install
RUN make SCHEME=${SCHEME} SRFI=64 SNOW_FORT_ARGS=--always-yes build install
RUN make SCHEME=${SCHEME} SRFI=145 SNOW_FORT_ARGS=--always-yes build install
RUN make SCHEME=${SCHEME} SRFI=180 SNOW_FORT_ARGS=--always-yes build install
RUN make SCHEME=${SCHEME} SRFI=60 SNOW_CHIBI_ARGS=--always-yes build install
RUN make SCHEME=${SCHEME} SRFI=39 SNOW_CHIBI_ARGS=--always-yes build install
RUN make SCHEME=${SCHEME} SRFI=64 SNOW_CHIBI_ARGS=--always-yes build install
RUN make SCHEME=${SCHEME} SRFI=145 SNOW_CHIBI_ARGS=--always-yes build install
RUN make SCHEME=${SCHEME} SRFI=180 SNOW_CHIBI_ARGS=--always-yes build install
WORKDIR /workdir
COPY Makefile .
COPY retropikzel retropikzel/

View File

@ -65,7 +65,7 @@ test-r7rs: ${TMPDIR}
test-r7rs-docker: ${TMPDIR}
echo "Building docker image..."
docker build --build-arg IMAGE=${DOCKERIMG} --build-arg SCHEME=${SCHEME} --tag=${DOCKER_TAG} -f Dockerfile.test ${DOCKER_QUIET} . > /dev/null
docker run -t ${DOCKER_TAG} sh -c "make SCHEME=${SCHEME} SNOW_CHIBI_ARGS=--always-yes LIBRARY=${LIBRARY} test-r7rs"
docker run -t ${DOCKER_TAG} sh -c "make SCHEME=${SCHEME} SNOW_CHIBI_ARGS=--always-yes LIBRARY=${LIBRARY} build install test-r7rs"
clean:
git clean -X -f