Improving testing
This commit is contained in:
parent
a63ea418b6
commit
900d196661
|
|
@ -5,4 +5,16 @@
|
|||
.*
|
||||
Akku.lock
|
||||
Akku.manifest
|
||||
foreign
|
||||
*.log
|
||||
*.a
|
||||
*.o
|
||||
*.so
|
||||
*.c
|
||||
*.import.scm
|
||||
*.link
|
||||
test-r6rs.sps
|
||||
test-r6rs
|
||||
test-r7rs.scm
|
||||
test-r7rs
|
||||
|
||||
|
|
|
|||
|
|
@ -10,12 +10,13 @@ RUN wget https://gitlab.com/-/project/6808260/uploads/094ce726ce3c6cf8c14560f1e3
|
|||
&& mv akku-1.1.0.amd64-linux akku
|
||||
RUN git clone https://github.com/ashinn/chibi-scheme.git --depth=1
|
||||
RUN git clone https://codeberg.org/retropikzel/compile-scheme.git --depth=1
|
||||
RUN git clone https://codeberg.org/foreign-c/foreign-c.git --depth=1
|
||||
WORKDIR /build/chibi-scheme
|
||||
RUN make
|
||||
RUN make install
|
||||
WORKDIR /build/compile-scheme
|
||||
RUN make build-gauche
|
||||
WORKDIR /build
|
||||
RUN git clone https://codeberg.org/foreign-c/foreign-c.git --depth=2
|
||||
|
||||
ARG SCHEME=chibi
|
||||
ARG IMAGE=${SCHEME}:head
|
||||
|
|
@ -35,8 +36,8 @@ RUN bash install.sh
|
|||
ENV PATH=/root/.local/bin:${PATH}
|
||||
RUN akku update
|
||||
WORKDIR /build/foreign-c
|
||||
RUN timeout 60 snow-chibi install --impls=${SCHEME} --always-yes "(srfi 64)"
|
||||
RUN timeout 60 snow-chibi install --impls=${SCHEME} --always-yes "(foreign c)"
|
||||
RUN if [ ! "${SCHEME}" = "racket" ]; then timeout 30 snow-chibi install --impls=${SCHEME} --always-yes "(srfi 64)"; fi
|
||||
RUN if [ ! "${SCHEME}" = "larceny" ]; then timeout 30 snow-chibi install --impls=${SCHEME} --always-yes "(foreign c)"; fi
|
||||
RUN make SCHEME=${SCHEME} build install
|
||||
WORKDIR /workdir
|
||||
RUN cp -r /build/foreign-c/foreign .
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ pipeline {
|
|||
def IMG="${SCHEME}:head"
|
||||
stage("${SCHEME} - ${LIBRARY}") {k
|
||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||
sh "timeout 6000 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r6rs-docker"
|
||||
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r6rs-docker"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -54,7 +54,7 @@ pipeline {
|
|||
}
|
||||
stage("${SCHEME} - ${LIBRARY}") {
|
||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||
sh "timeout 6000 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r7rs-docker"
|
||||
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r7rs-docker"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue