From dd1b5dce66190195d00d1042dfe978446280de49 Mon Sep 17 00:00:00 2001 From: retropikzel Date: Tue, 15 Jul 2025 08:42:15 +0300 Subject: [PATCH] Fixing tests --- Jenkinsfile | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6e593f9..74e3fa9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,13 +14,15 @@ pipeline { steps { script { def r6rs_implementations = sh(script: 'chibi-scheme -I ./snow -I . compile-r7rs.scm --list-r6rs-schemes', returnStdout: true).split() - - r6rs_implementations.each { implementation-> - stage("${implementation} R6RS") { - catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { - sh "make test-r6rs-docker SCHEME=${implementation}" + parallel r6rs_implementations.collectEntries { implementation-> + [(implementation): { + stage("${implementation} R6RS") { + catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { + sh "make test-r6rs-docker SCHEME=${implementation}" + } + } } - } + ] } } } @@ -30,13 +32,15 @@ pipeline { steps { script { def r7rs_implementations = sh(script: 'chibi-scheme -I ./snow -I . compile-r7rs.scm --list-r7rs-schemes', returnStdout: true).split() - - r7rs_implementations.each { implementation-> - stage("${implementation} R7RS") { - catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { - sh "make test-r7rs-docker SCHEME=${implementation}" + parallel r7rs_implementations.collectEntries { implementation-> + [(implementation): { + stage("${implementation} R7RS") { + catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { + sh "make test-r7rs-docker SCHEME=${implementation}" + } + } } - } + ] } } }