Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit 7680bb1

Browse files
Chad Doughertyapavlo
authored andcommitted
support for Debian; commented out in Jenkins for now
1 parent 006f762 commit 7680bb1

File tree

3 files changed

+56
-4
lines changed

3 files changed

+56
-4
lines changed

Jenkinsfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,31 @@ pipeline {
6262
}
6363
}
6464

65+
// stage('Debian Stretch/gcc-6.3.0/llvm-3.8.1 (Debug/Test)') {
66+
// agent { docker { image 'debian:stretch' } }
67+
// steps {
68+
// sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
69+
// sh 'python ./script/validators/source_validator.py'
70+
// sh 'mkdir build'
71+
// sh 'cd build && cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False -DUSE_SANITIZER=Address .. && make -j4'
72+
// sh 'cd build && make check -j4 || true'
73+
// sh 'cd build && make benchmark -j4'
74+
// sh 'cd build && make install'
75+
// sh 'cd build && bash ../script/testing/psql/psql_test.sh'
76+
// sh 'cd build && python ../script/validators/jdbc_validator.py'
77+
// }
78+
// }
79+
80+
// stage('Debian Stretch/gcc-6.3.0/llvm-3.8.1 (Release)') {
81+
// agent { docker { image 'debian:stretch' } }
82+
// steps {
83+
// sh 'sudo /bin/bash -c "source ./script/installation/packages.sh"'
84+
// sh 'python ./script/validators/source_validator.py'
85+
// sh 'mkdir build'
86+
// sh 'cd build && cmake -DCMAKE_BUILD_TYPE=Release -DUSE_SANITIZER=Address -DCOVERALLS=False .. && make -j4'
87+
// }
88+
// }
89+
6590
stage('Fedora 26/gcc-7.1.1/llvm-4.0.1 (Debug)') {
6691
agent { docker { image 'fedora:26' } }
6792
steps {

script/docker/debian-stretch/Dockerfile-jenkins

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ RUN mkdir /peloton/build && cd /peloton/build && cmake -DCMAKE_BUILD_TYPE=Debug
1212
RUN echo -n "Peloton Release build with "; g++ --version | head -1
1313
RUN rm -rf /peloton/build && mkdir /peloton/build && cd /peloton/build && cmake -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4 && make install
1414

15-
RUN echo -n "Peloton Debug build with "; clang++-3.7 --version | head -1
16-
RUN rm -rf /peloton/build && mkdir /peloton/build && cd /peloton/build && CC=clang-3.7 CXX=clang++-3.7 cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False .. && make -j4 && make install
15+
RUN echo -n "Peloton Debug build with "; clang++ --version | head -1
16+
RUN rm -rf /peloton/build && mkdir /peloton/build && cd /peloton/build && CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=False .. && make -j4 && make install
1717

18-
RUN echo -n "Peloton Release build with "; clang++-3.7 --version | head -1
19-
RUN rm -rf /peloton/build && mkdir /peloton/build && cd /peloton/build && CC=clang-3.7 CXX=clang++-3.7 cmake -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4 && make install
18+
RUN echo -n "Peloton Release build with "; clang++ --version | head -1
19+
RUN rm -rf /peloton/build && mkdir /peloton/build && cd /peloton/build && CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Release -DCOVERALLS=False .. && make -j4 && make install

script/installation/packages.sh

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,33 @@ if [ "$DISTRO" = "UBUNTU" ]; then
8686
libedit-dev \
8787
postgresql-client
8888

89+
## ------------------------------------------------
90+
## DEBIAN
91+
## ------------------------------------------------
92+
elif [ "$DISTRO" = "DEBIAN OS" ]; then
93+
sudo apt-get -qq $FORCE_Y --ignore-missing -y install \
94+
git \
95+
g++ \
96+
clang \
97+
cmake \
98+
libgflags-dev \
99+
libprotobuf-dev \
100+
protobuf-compiler \
101+
bison \
102+
flex \
103+
libevent-dev \
104+
libboost-dev \
105+
libboost-thread-dev \
106+
libboost-filesystem-dev \
107+
libjemalloc-dev \
108+
libssl-dev \
109+
valgrind \
110+
lcov \
111+
libpqxx-dev \
112+
llvm-dev \
113+
libedit-dev \
114+
postgresql-client
115+
89116
## ------------------------------------------------
90117
## FEDORA
91118
## ------------------------------------------------

0 commit comments

Comments
 (0)