diff --git a/Jenkinsfile b/Jenkinsfile index 1395e5e..4f3b8f3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -32,15 +32,17 @@ pipeline { } steps { script { - files = findFiles(glob: 'makings/*.mks') - files.each { file -> - stage("${file}") { + stage("one") { + catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { + sh "ls" + } + } + stage("two") { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh "ls" } } } - } } } } diff --git a/makings.scm b/makings.scm new file mode 100644 index 0000000..f947faf --- /dev/null +++ b/makings.scm @@ -0,0 +1,16 @@ +(let ((init + `("apt-get update && apt-get install -y git ca-certificates gcc make libffi-dev" + "git clone https://github.com/ashinn/chibi-scheme.git --depth=1" + "make -j8 -C chibi-scheme" + "make -j8 -C chibi-scheme install" + "snow-chibi install retropikzel.compile-r7rs")) + (tap + (lambda (scheme) + (string-append "COMPILE_R7RS=" scheme " compile-r7rs ")))) + + (map (lambda (scheme) + `((image ,(string-append "schemers/" scheme ":head")) + (stages + (init ,init) + (tap ,(tap scheme))))) + '("chibi"))) diff --git a/makings/chibi.mks b/makings/chibi.mks deleted file mode 100644 index 8e772bf..0000000 --- a/makings/chibi.mks +++ /dev/null @@ -1 +0,0 @@ -schemers/chibi:head