Compare commits

..

No commits in common. "59e9e99d9222151acb3906e89bf8ea694389a0d6" and "f8a7458b997ee4f9d84e92063489faecbc8d9d71" have entirely different histories.

3 changed files with 8 additions and 32 deletions

View File

@ -1,5 +1,2 @@
FROM debian:trixie FROM debian:trixie
RUN apt-get update && apt-get -y install build-essential libffi-dev docker.io git RUN apt-get update && apt-get -y install make docker.io git
RUN git clone https://github.com/ashinn/chibi-scheme.git --depth=1
RUN cd chibi-scheme && make && make install
RUN snow-chibi install --impls=chibi --always-yes retropikzel.test-r7rs

27
Jenkinsfile vendored
View File

@ -7,25 +7,6 @@ pipeline {
} }
} }
triggers {
GenericTrigger(
genericVariables: [
[key: 'ref', value: '$.ref']
],
causeString: 'Triggered on $ref',
printContributedVariables: true,
printPostContent: true,
silentResponse: false,
shouldNotFlatten: false,
regexpFilterText: '$ref',
regexpFilterExpression: 'refs/heads/' + BRANCH_NAME
)
}
options { options {
disableConcurrentBuilds() disableConcurrentBuilds()
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10')) buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
@ -38,14 +19,14 @@ pipeline {
} }
stages { stages {
stage('R6RS Debian') { stage('x86_64 Debian') {
steps { steps {
script { script {
env.SRFIS.split().each { SRFI -> env.SRFIS.split().each { SRFI ->
env.R6RS_SCHEMES.split().each { SCHEME -> env.R6RS_SCHEMES.split().each { SCHEME ->
stage("${SCHEME} ${SRFI}") { stage("${SCHEME} ${SRFI}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make SCHEME=${SCHEME} SRFI=${SRFI} RNRS=r6rs test-docker" sh "make SCHEME=${SCHEME} SRFI=${SRFI} RNRS=r6rs run-test-docker"
} }
} }
} }
@ -53,14 +34,14 @@ pipeline {
} }
} }
} }
stage('R7RS Debian') { stage('R7RS x86_64 Debian') {
steps { steps {
script { script {
env.SRFIS.split().each { SRFI -> env.SRFIS.split().each { SRFI ->
env.R7RS_SCHEMES.split().each { SCHEME -> env.R7RS_SCHEMES.split().each { SCHEME ->
stage("${SCHEME} ${SRFI}") { stage("${SCHEME} ${SRFI}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make SCHEME=${SCHEME} SRFI=${SRFI} RNRS=r6rs test-docker" sh "make SCHEME=${SCHEME} SRFI=${SRFI} RNRS=r6rs run-test-docker"
} }
} }
} }

View File

@ -36,9 +36,7 @@ package: srfi/${SRFI}/LICENSE srfi/${SRFI}/VERSION
install: install:
snow-chibi install --impls=${SCHEME} ${PKG} snow-chibi install --impls=${SCHEME} ${PKG}
${PKG}: package testfiles:
testfiles: ${PKG}
rm -rf .tmp rm -rf .tmp
mkdir -p .tmp mkdir -p .tmp
cp ${PKG} .tmp cp ${PKG} .tmp
@ -52,11 +50,11 @@ testfiles: ${PKG}
fi; \ fi; \
fi fi
test: testfiles test: testfiles package
cd .tmp && COMPILE_R7RS=${SCHEME} compile-r7rs -o test-program test.${SFX} cd .tmp && COMPILE_R7RS=${SCHEME} compile-r7rs -o test-program test.${SFX}
cd .tmp && ./test-program cd .tmp && ./test-program
test-docker: testfiles test-docker: testfiles package
cd .tmp && \ cd .tmp && \
DOCKER_TAG=${DOCKER_TAG} \ DOCKER_TAG=${DOCKER_TAG} \
SNOW_PACKAGES="srfi.64 ${PKG}" \ SNOW_PACKAGES="srfi.64 ${PKG}" \