Improving tests
This commit is contained in:
parent
29d3acae8b
commit
9ec1836bd9
|
|
@ -0,0 +1,8 @@
|
|||
FROM debian:trixie-slim
|
||||
RUN apt-get update && apt-get install -y \
|
||||
make ca-certificates git docker.io gauche time mit-scheme
|
||||
WORKDIR /cache
|
||||
RUN git clone https://codeberg.org/retropikzel/compile-scheme.git --depth=1
|
||||
WORKDIR /cache/compile-scheme
|
||||
RUN make build-gauche
|
||||
RUN make install
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
dockerfile {
|
||||
label 'docker-x86_64'
|
||||
image 'debian'
|
||||
filename 'Dockerfile.jenkins'
|
||||
args '--user=root --privileged -v /var/run/docker.sock:/var/run/docker.sock'
|
||||
}
|
||||
}
|
||||
|
|
@ -22,23 +22,17 @@ pipeline {
|
|||
}
|
||||
|
||||
stages {
|
||||
stage('Init') {
|
||||
steps {
|
||||
sh "apt-get update && apt-get install -y make docker.io git"
|
||||
}
|
||||
}
|
||||
|
||||
stage('Tests') {
|
||||
parallel {
|
||||
stage('R6RS x86_64 Debian') {
|
||||
/*
|
||||
stage('R6RS') {
|
||||
steps {
|
||||
script {
|
||||
params.LIBRARIES.split().each { LIBRARY ->
|
||||
stage("${LIBRARY}") {
|
||||
stages {
|
||||
params.R6RS_SCHEMES.split().each { SCHEME ->
|
||||
def IMG="${SCHEME}:head"
|
||||
stage("${SCHEME} - ${LIBRARY}") {
|
||||
steps {
|
||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r6rs-docker"
|
||||
}
|
||||
|
|
@ -49,14 +43,14 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('R7RS x86_64 Debian') {
|
||||
*/
|
||||
stage('R7RS') {
|
||||
steps {
|
||||
script {
|
||||
params.LIBRARIES.split().each { LIBRARY ->
|
||||
stage("${LIBRARY}") {
|
||||
stages {
|
||||
params.R7RS_SCHEMES.split().each { SCHEME ->
|
||||
params.R7RS_SCHEMES.collectEntries().each { SCHEME ->
|
||||
[(SCHEME): {
|
||||
def IMG="${SCHEME}:head"
|
||||
if("${SCHEME}" == "chicken") {
|
||||
IMG="${SCHEME}:5"
|
||||
|
|
@ -67,7 +61,7 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue