]> git.localhorst.tv Git - blank.git/commitdiff
centos build config
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Wed, 9 Nov 2016 15:35:28 +0000 (16:35 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Wed, 9 Nov 2016 15:35:28 +0000 (16:35 +0100)
.travis.yml
doc/building
doc/running
scripts/docker/centos-build-latest/Dockerfile [new file with mode: 0644]

index 0c959b5c833dc954cc10cc6de6b3518d51bc6b2d..795a88eee4e156bc3b5a16546aabadca184de82b 100644 (file)
@@ -15,6 +15,7 @@ matrix:
     - env: IMAGE=debian-build-testing TARGETS=test
     - env: IMAGE=ubuntu-build-latest TARGETS=test
     - env: IMAGE=ubuntu-build-testing TARGETS=test
+    - env: IMAGE=centos-build-latest TARGETS=test
 
 script:
     - bash scripts/docker/exec.bash
index d16e284d94619072ec0a8c3e90ae010df834d80d..43b5cb94ef563b254bb504313e6b959aeacfee75 100644 (file)
@@ -11,6 +11,9 @@ debian: apt-get install libglew-dev libglm-dev libsdl2-dev libsdl2-image-dev lib
 debian (jessie): apt-get install libglew-dev libglm-dev libsdl2-dev libsdl2-image-dev libsdl2-net-dev libsdl2-ttf-dev libopenal-dev libalut-dev zlib1g-dev libcppunit-dev
        (!) you may have to build the tests with CPPFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0
 
+centos (7): yum install glew-devel glm-devel SDL2-devel SDL2_image-devel SDL2_net-devel SDL2_ttf-devel openal-soft-devel freealut-devel zlib-devel cppunit-devel
+       (!) you need the "epel" repository for SDL2 et al. `yum install epel-release`
+
 manual:
        CppUnit http://sourceforge.net/projects/cppunit/
        GLEW    http://glew.sourceforge.net/
index 5d8db59d45d218fd80a05db3496fda81791a45d0..7c54d441965a6a34302bb1414b05006e370d3ac5 100644 (file)
@@ -9,6 +9,9 @@ archlinux:
 debian (jessie):
        apt install --no-install-recommends libglew1.10 libglu1-mesa libsdl2-2.0-0 libsdl2-image-2.0-0 libsdl2-net-2.0-0 libsdl2-ttf-2.0-0 libopenal1 libalut0 zlib1g
 
+centos (7):
+       yum install glew SDL2 SDL2_image SDL2_net SDL2_ttf openal-soft freealut zlib
+
 Arguments
 =========
 
diff --git a/scripts/docker/centos-build-latest/Dockerfile b/scripts/docker/centos-build-latest/Dockerfile
new file mode 100644 (file)
index 0000000..6118d6e
--- /dev/null
@@ -0,0 +1,18 @@
+FROM centos:latest
+
+RUN yum -y update \
+       && yum -y install epel-release \
+       && yum -y update \
+       && yum -y group install "Development Tools"
+RUN yum -y install \
+       cppunit-devel \
+       freealut-devel \
+       glew-devel \
+       glm-devel \
+       openal-soft-devel \
+       SDL2-devel \
+       SDL2_image-devel \
+       SDL2_net-devel \
+       SDL2_ttf-devel \
+       zlib-devel \
+       ;