Making the build work

This commit is contained in:
retropikzel 2025-04-18 08:22:25 +03:00
parent 163169bf45
commit 67010b6f98
1 changed files with 23 additions and 0 deletions

23
Jenkinsfile vendored
View File

@ -18,6 +18,7 @@ pipeline {
agent { docker { image 'schemers/chezscheme'; args '--user=root' } } agent { docker { image 'schemers/chezscheme'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=chezscheme test-r6rs' sh 'make COMPILE_R7RS=chezscheme test-r6rs'
@ -28,6 +29,7 @@ pipeline {
agent { docker { image 'schemers/chibi'; args '--user=root' } } agent { docker { image 'schemers/chibi'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=chibi test-r7rs' sh 'make COMPILE_R7RS=chibi test-r7rs'
@ -38,6 +40,7 @@ pipeline {
agent { docker { image 'schemers/cyclone'; args '--user=root' } } agent { docker { image 'schemers/cyclone'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=cyclone test-r7rs' sh 'make COMPILE_R7RS=cyclone test-r7rs'
@ -48,6 +51,7 @@ pipeline {
agent { docker { image 'schemers/foment'; args '--user=root' } } agent { docker { image 'schemers/foment'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=foment test-r7rs' sh 'make COMPILE_R7RS=foment test-r7rs'
@ -58,6 +62,7 @@ pipeline {
agent { docker { image 'schemers/gauche'; args '--user=root' } } agent { docker { image 'schemers/gauche'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=gauche test-r7rs' sh 'make COMPILE_R7RS=gauche test-r7rs'
@ -68,6 +73,7 @@ pipeline {
agent { docker { image 'schemers/guile'; args '--user=root' } } agent { docker { image 'schemers/guile'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=guile test-r6rs' sh 'make COMPILE_R7RS=guile test-r6rs'
@ -78,6 +84,7 @@ pipeline {
agent { docker { image 'schemers/guile'; args '--user=root' } } agent { docker { image 'schemers/guile'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=guile test-r7rs' sh 'make COMPILE_R7RS=guile test-r7rs'
@ -88,6 +95,7 @@ pipeline {
agent { docker { image 'schemers/ikarus'; args '--user=root' } } agent { docker { image 'schemers/ikarus'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=ikarus test-r7rs' sh 'make COMPILE_R7RS=ikarus test-r7rs'
@ -98,6 +106,7 @@ pipeline {
agent { docker { image 'schemers/ironscheme'; args '--user=root' } } agent { docker { image 'schemers/ironscheme'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=ironscheme test-r7rs' sh 'make COMPILE_R7RS=ironscheme test-r7rs'
@ -108,6 +117,7 @@ pipeline {
agent { docker { image 'schemers/kawa'; args '--user=root' } } agent { docker { image 'schemers/kawa'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=kawa test-r7rs' sh 'make COMPILE_R7RS=kawa test-r7rs'
@ -118,6 +128,7 @@ pipeline {
agent { docker { image 'schemers/larceny'; args '--user=root' } } agent { docker { image 'schemers/larceny'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=larceny test-r6rs' sh 'make COMPILE_R7RS=larceny test-r6rs'
@ -128,6 +139,7 @@ pipeline {
agent { docker { image 'schemers/larceny'; args '--user=root' } } agent { docker { image 'schemers/larceny'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=larceny test-r7rs' sh 'make COMPILE_R7RS=larceny test-r7rs'
@ -138,6 +150,7 @@ pipeline {
agent { docker { image 'schemers/loko'; args '--user=root' } } agent { docker { image 'schemers/loko'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=loko test-r6rs' sh 'make COMPILE_R7RS=loko test-r6rs'
@ -148,6 +161,7 @@ pipeline {
agent { docker { image 'schemers/loko'; args '--user=root' } } agent { docker { image 'schemers/loko'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=loko test-r7rs' sh 'make COMPILE_R7RS=loko test-r7rs'
@ -158,6 +172,7 @@ pipeline {
agent { docker { image 'schemers/mit-scheme'; args '--user=root' } } agent { docker { image 'schemers/mit-scheme'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=mit-scheme test-r7rs' sh 'make COMPILE_R7RS=mit-scheme test-r7rs'
@ -168,6 +183,7 @@ pipeline {
agent { docker { image 'schemers/mosh'; args '--user=root' } } agent { docker { image 'schemers/mosh'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=mosh test-r6rs' sh 'make COMPILE_R7RS=mosh test-r6rs'
@ -178,6 +194,7 @@ pipeline {
agent { docker { image 'schemers/mosh'; args '--user=root' } } agent { docker { image 'schemers/mosh'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=mosh test-r7rs' sh 'make COMPILE_R7RS=mosh test-r7rs'
@ -188,6 +205,7 @@ pipeline {
agent { docker { image 'schemers/sagittarius'; args '--user=root' } } agent { docker { image 'schemers/sagittarius'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=sagittarius test-r6rs' sh 'make COMPILE_R7RS=sagittarius test-r6rs'
@ -198,6 +216,7 @@ pipeline {
agent { docker { image 'schemers/sagittarius'; args '--user=root' } } agent { docker { image 'schemers/sagittarius'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=sagittarius test-r7rs' sh 'make COMPILE_R7RS=sagittarius test-r7rs'
@ -208,6 +227,7 @@ pipeline {
agent { docker { image 'schemers/skint'; args '--user=root' } } agent { docker { image 'schemers/skint'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=skint test-r7rs' sh 'make COMPILE_R7RS=skint test-r7rs'
@ -218,6 +238,7 @@ pipeline {
agent { docker { image 'schemers/tr7'; args '--user=root' } } agent { docker { image 'schemers/tr7'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=tr7 test-r7rs' sh 'make COMPILE_R7RS=tr7 test-r7rs'
@ -228,6 +249,7 @@ pipeline {
agent { docker { image 'schemers/ypsilon'; args '--user=root' } } agent { docker { image 'schemers/ypsilon'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=ypsilon test-r6rs' sh 'make COMPILE_R7RS=ypsilon test-r6rs'
@ -238,6 +260,7 @@ pipeline {
agent { docker { image 'schemers/ypsilon'; args '--user=root' } } agent { docker { image 'schemers/ypsilon'; args '--user=root' } }
steps { steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh'apt-get update && apt-get install -y build-essential wget make cmake libgc-dev zlib1g-dev libffi-dev libssl-dev && wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.12.tar.gz && tar -xf sagittarius-0.9.12.tar.gz && cd sagittarius-0.9.12 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local-other .. && make && make install'
sh 'apt-get update && apt-get install -y make libuv1' sh 'apt-get update && apt-get install -y make libuv1'
sh 'make && make install' sh 'make && make install'
sh 'make COMPILE_R7RS=ypsilon test-r7rs' sh 'make COMPILE_R7RS=ypsilon test-r7rs'