Remaking the Jenkinsfile
This commit is contained in:
parent
2fd42cd310
commit
64e8c70b85
|
|
@ -8,26 +8,18 @@ pipeline {
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Chibi primitives') {
|
stage('Chibi primitives') {
|
||||||
environment {
|
agent {
|
||||||
COMPILE_R7RS = "chibi"
|
dockerfile {
|
||||||
TESTNAME = "primitives"
|
filename 'dockerfiles/test'
|
||||||
}
|
additionalbuildArgs '--build-arg COMPILE_R7RS=chibi'
|
||||||
steps {
|
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
|
||||||
sh 'docker build --build-arg COMPILE_R7RS=${COMPILE_R7RS} --tag=r7rs-pffi-test-${COMPILE_R7RS} -f dockerfiles/test .'
|
|
||||||
sh 'docker run -v "${PWD}":/workdir -w /workdir -t r7rs-pffi-test-${COMPILE_R7RS} sh -c "make COMPILE_R7RS=${COMPILE_R7RS} test-compile-r7rs"'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
stage('Chibi addressof') {
|
|
||||||
environment {
|
environment {
|
||||||
COMPILE_R7RS = "chibi"
|
COMPILE_R7RS = "chibi"
|
||||||
TESTNAME = "addressof"
|
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
sh 'docker build --build-arg COMPILE_R7RS=${COMPILE_R7RS} --tag=r7rs-pffi-test-${COMPILE_R7RS} -f dockerfiles/test .'
|
sh 'make test-compile-r7rs COMPILE_R7RS=chibi TESTNAME=primitives'
|
||||||
sh 'docker run -v "${PWD}":/workdir -w /workdir -t r7rs-pffi-test-${COMPILE_R7RS} sh -c "make COMPILE_R7RS=${COMPILE_R7RS} test-compile-r7rs"'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue