diff --git a/Jenkinsfile b/Jenkinsfile index 5637877..c8e93c9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -31,6 +31,11 @@ pipeline { sh 'make SCHEME=chibi LIBRARY=tap all install test' } } + stage('debug') { + catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { + sh 'make SCHEME=chibi LIBRARY=debug all install test' + } + } } } } @@ -58,6 +63,11 @@ pipeline { sh 'make SCHEME=sagittarius LIBRARY=tap all install test' } } + stage('debug') { + catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { + sh 'make SCHEME=sagittarius LIBRARY=debug all install test' + } + } } } } diff --git a/makings.scm b/makings.scm index 8af5744..de86f5a 100644 --- a/makings.scm +++ b/makings.scm @@ -4,9 +4,14 @@ "make -j8 -C chibi-scheme" "make -j8 -C chibi-scheme install" "snow-chibi install retropikzel.compile-r7rs")) - (tap - (lambda (scheme) - (list (string-append "make SCHEME=" scheme " LIBRARY=tap all install test"))))) + (library-stage + (lambda (scheme library-name) + (list (string->symbol library-name) + (string-append "make SCHEME=" + scheme + " LIBRARY=" + library-name + " all install test"))))) `((jenkinsfile (agent "label 'docker-x86_64'") @@ -17,5 +22,8 @@ (image ,(string-append "schemers/" scheme ":head")) (stages (init ,@init) - (tap ,@(tap scheme))))) + ,@(map + (lambda (library-name) + (library-stage scheme library-name)) + '("tap" "debug"))))) '("chibi" "sagittarius")))))