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
RUN apt-get update && apt-get -y install build-essential libffi-dev 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
RUN apt-get update && apt-get -y install make docker.io git

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 {
disableConcurrentBuilds()
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
@ -38,14 +19,14 @@ pipeline {
}
stages {
stage('R6RS Debian') {
stage('x86_64 Debian') {
steps {
script {
env.SRFIS.split().each { SRFI ->
env.R6RS_SCHEMES.split().each { SCHEME ->
stage("${SCHEME} ${SRFI}") {
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 {
script {
env.SRFIS.split().each { SRFI ->
env.R7RS_SCHEMES.split().each { SCHEME ->
stage("${SCHEME} ${SRFI}") {
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:
snow-chibi install --impls=${SCHEME} ${PKG}
${PKG}: package
testfiles: ${PKG}
testfiles:
rm -rf .tmp
mkdir -p .tmp
cp ${PKG} .tmp
@ -52,11 +50,11 @@ testfiles: ${PKG}
fi; \
fi
test: testfiles
test: testfiles package
cd .tmp && COMPILE_R7RS=${SCHEME} compile-r7rs -o test-program test.${SFX}
cd .tmp && ./test-program
test-docker: testfiles
test-docker: testfiles package
cd .tmp && \
DOCKER_TAG=${DOCKER_TAG} \
SNOW_PACKAGES="srfi.64 ${PKG}" \