Compare commits

..

No commits in common. "d13cb8e19bd8270dd9780cf9b3e00a63fc418b61" and "6a362d5d2fab84d20e9a720be4c0614538565e66" have entirely different histories.

3 changed files with 8 additions and 14 deletions

View File

@ -1,5 +1,2 @@
FROM alpine
RUN apk add make git docker
RUN git clone https://codeberg.org/retropikzel/test-r7rs.git --depth=8 --branch=bugfixes
RUN cd test-r7rs && ./configure && make && make install
COPY --from=schemers/chibi:alpine-head /usr/local /usr/local
RUN apk add make docker

8
Jenkinsfile vendored
View File

@ -28,7 +28,9 @@ pipeline {
params.R6RS_SCHEMES.split().each { SCHEME ->
stage("${SCHEME}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "timeout 6000 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r6rs test-docker"
sh "rm -rf logs/*.json"
sh "timeout 6000 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r6rs test"
archiveArtifacts(artifacts: "logs/${SCHEME}-${LIBRARY}.ctrf.json", allowEmptyArchive: false, fingerprint: true)
}
}
}
@ -45,7 +47,9 @@ pipeline {
params.R7RS_SCHEMES.split().each { SCHEME ->
stage("${SCHEME}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "timeout 6000 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r7rs test-docker"
sh "rm -rf logs/*.json"
sh "timeout 6000 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r7rs test"
archiveArtifacts(artifacts: "logs/${SCHEME}-${LIBRARY}.ctrf.json", allowEmptyArchive: false, fingerprint: true)
}
}
}

View File

@ -29,18 +29,11 @@ build: retropikzel/${LIBRARY}/LICENSE retropikzel/${LIBRARY}/VERSION retropikzel
install:
snow-chibi install --impls=${SCHEME} --always-yes ${PKG}
testfiles: build
test: build
rm -rf .tmp
mkdir -p .tmp
cp ${PKG} .tmp/
cp -r retropikzel .tmp/
cat test-headers.${SFX} ${TESTFILE} | sed 's/LIBRARY/${LIBRARY}/' > .tmp/test.${SFX}
test: testfiles
cd .tmp && COMPILE_R7RS=${SCHEME} CSC_OPIONS="-L -lcurl" compile-r7rs -o test-program -I . test.${SFX}
cd .tmp && ./test-program
test-docker: testfiles
cd .tmp && SNOW_PACKAGES="srfi.64 retropikzel.mouth" \
APT_PACKAGES="libcurl4-openssl-dev" \
COMPILE_R7RS=${SCHEME} \