-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provisioning a CentOS 6.3 slave (for ci use with jenkins)
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#!/bin/bash | ||
# Shell script for provisioning an Ubuntu 16.04 LTS slave on Inria cloudstack to compile GATB-CORE | ||
# (for use with Jenkins, ci.inria.fr) | ||
|
||
set -xv | ||
set -e | ||
|
||
|
||
yum -y update yum | ||
yum clean all | ||
|
||
# Install necessary packages | ||
# -------------------------- | ||
|
||
yum -y --disablerepo=\* --enablerepo=base,update update cmake | ||
|
||
yum -y --disablerepo=\* --enablerepo=base,update install flex | ||
yum -y --disablerepo=\* --enablerepo=base,update install cppunit.x86_64 | ||
yum -y --disablerepo=\* --enablerepo=base,update install cppunit-devel.x86_64 | ||
yum -y --disablerepo=\* --enablerepo=base,update install graphviz | ||
|
||
|
||
# Install Doxygen | ||
# --------------- | ||
# Note: CentOS 6.3 comes with doxygen 1.6 (not compatible with Plast, needing 1.8). | ||
|
||
cd /tmp | ||
git clone https://github.com/doxygen/doxygen.git | ||
cd doxygen | ||
git checkout 0072ba56aa99420 # validated on Plast, as of 2017/08/03 | ||
|
||
# http://www.stack.nl/~dimitri/doxygen/manual/install.html | ||
mkdir build | ||
cd build | ||
cmake -G "Unix Makefiles" .. | ||
|
||
make | ||
|
||
make install | ||
|
||
# Display java version | ||
# -------------------- | ||
# as of 2017/08/03 : OpenJDK Runtime Environment (IcedTea6 1.11.4) (rhel-1.49.1.11.4.el6_3-x86_64) | ||
|
||
java -version |