Commit 07d5e8ab authored by Ciarán Ó Rourke's avatar Ciarán Ó Rourke
Browse files

CentOS7 CI

Create a CI job for running the unit tests and integration tests on
CentOS7.

Change log:
* Fix Documentation path
* Ci job for CentOS7
parent 4557e4d4
Pipeline #2231 passed with stages
in 17 minutes and 23 seconds
......@@ -37,8 +37,6 @@ image: ciaranorourke/deimos:centos8
.cmake_variables:
default_cmake_variables: &default_cmake_variables
CC: gcc
CXX: g++
DEPS_DIR: /home/superdeimos/build/install
DEIMOS_DOC_DIR: ""
DEIMOS_BUILD_TESTS: "ON"
......@@ -50,8 +48,10 @@ image: ciaranorourke/deimos:centos8
- docker
variables:
<<: *default_cmake_variables
CC: gcc
CXX: g++
before_script:
- dnf update
- dnf update -y
- dnf install -y
cmake
clang clang-tools-extra
......@@ -75,7 +75,7 @@ Format:
CC: clang
CXX: clang++
before_script:
- dnf update
- dnf update -y
- dnf install -y
git
clang
......@@ -105,11 +105,11 @@ Documentation:
variables:
<<: *default_cmake_variables
DEIMOS_BUILD_DOCUMENTATION: "ON"
DEIMOS_DOC_DIR: /home/superfiphoboserver/external/doxygen-xml-parser/src
DEIMOS_DOC_DIR: /home/superdeimos/external/doxygen-xml-parser/src
CC: clang
CXX: clang++
before_script:
- dnf update
- dnf update -y
- dnf install -y
cmake
git
......@@ -124,7 +124,6 @@ Documentation:
&& git diff-index --quiet HEAD
|| { echo "This commit contains changes to the documentation! Run doxygen-XML-parser on the project update the documentation."; false; }
Default:
<<: *default_job
stage: test
......@@ -133,5 +132,21 @@ Authorisation Disabled:
<<: *default_job
variables:
<<: *default_cmake_variables
CC: gcc
CXX: g++
DEIMOS_AUTHORISATION: "OFF"
stage: test
centos7:
<<: *default_job
stage: test
image: ciaranorourke/deimos:centos7
before_script:
- yum update -y
- yum install -y epel-release
- yum install -y
cmake3
python3
- pip3 install boto3
- ln -s /usr/bin/cmake3 /usr/bin/cmake
- source /home/superdeimos/envs.list
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment