From 23422deaf61050bebe3a983301646bbdafbcea82 Mon Sep 17 00:00:00 2001 From: retropikzel Date: Thu, 5 Jun 2025 22:03:23 +0300 Subject: [PATCH] Testing dynamic Jenkinsfile --- Jenkinsfile | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5428ff7..b35db74 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,15 @@ -def tests = ['primitives'] +def implementations = [ + 'chibi', + 'chicken', + 'gauche', + 'guile', + 'kawa', + 'mosh', + 'racket', + 'sagittarius', + 'stklos', + 'ypsilon' + ] pipeline { agent { @@ -14,14 +25,13 @@ pipeline { } stages { - stage('Chibi') { - agent { dockerfile { filename 'Dockerfile.test'; args '--user=root' additionalBuildArgs "--build-arg COMPILE_R7RS=${STAGE_NAME}" } } + stage('Testing') { steps { script { - tests.each { test -> - stage("Test ${ᚢTAGE_NAME} primitives") { + implementations.each { implementation -> + stage("Test ${implementation} primitives") { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { - sh "make test-compile-r7rs COMPILE_R7RS=${STAGE_NAME} TESTNAME=${test}" + sh "make test-compile-r7rs-docker COMPILE_R7RS=${implementation} TESTNAME=primitives" } } }