Commit 43271ad2 authored by George Nash's avatar George Nash

Attempt to add full linux CI build

Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
parent 5654c4f4
Pipeline #495 failed with stage
in 60 minutes
...@@ -2,11 +2,33 @@ ...@@ -2,11 +2,33 @@
image: gcc image: gcc
build: build_Linux:
stage: build stage: build
before_script: before_script:
- apt update && apt -y install build-essential git scons libtool autoconf valgrind doxygen wget unzip cmake libboost-dev libboost-program-options-dev libboost-thread-dev uuid-dev libexpat1-dev libglib2.0-dev libsqlite3-dev libcurl4-gnutls-dev chrpath - apt update && apt -y install build-essential git scons libtool autoconf valgrind doxygen wget unzip cmake libboost-dev libboost-program-options-dev libboost-thread-dev uuid-dev libexpat1-dev libglib2.0-dev libsqlite3-dev libcurl4-gnutls-dev chrpath
- set -o pipefail
- export VERBOSE=false
- export CCACHE_DISABLE=false
- git clone https://github.com/intel/tinycbor.git extlibs/tinycbor/tinycbor -b v0.5.1
- git clone https://github.com/ARMmbed/mbedtls.git extlibs/mbedtls/mbedtls -b mbedtls-2.4.2
script: script:
- echo "*********** Release Build for linux with Security *************"
- scons RELEASE=1 ERROR_ON_WARN=0
- echo "*********** Debug Build for linux with Security *************"
- scons RELEASE=0 ERROR_ON_WARN=0
.build_linux_full:
stage: build
before_script:
- apt update && apt -y install build-essential git scons libtool autoconf valgrind doxygen wget unzip cmake libboost-dev libboost-program-options-dev libboost-thread-dev uuid-dev libexpat1-dev libglib2.0-dev libsqlite3-dev libcurl4-gnutls-dev chrpath default-jdk
- set -o pipefail
- export VERBOSE=false
- export CCACHE_DISABLE=false
- export JAVA_HOME=/usr
- git clone https://github.com/intel/tinycbor.git extlibs/tinycbor/tinycbor -b v0.5.1 - git clone https://github.com/intel/tinycbor.git extlibs/tinycbor/tinycbor -b v0.5.1
- git clone https://github.com/ARMmbed/mbedtls.git extlibs/mbedtls/mbedtls -b mbedtls-2.4.2 - git clone https://github.com/ARMmbed/mbedtls.git extlibs/mbedtls/mbedtls -b mbedtls-2.4.2
- scons -j 2 script:
- echo "*********** Release Build for linux *************"
- scons VERBOSE=false WITH_CLOUD=1 WITH_TCP=1 WITH_PROXY=1 WITH_RA=1 BUILD_JAVA=1 MULTIPLE_OWNER=1 RELEASE=1 ERROR_ON_WARN=0 SECURED=1 WITH_RA_IBB=1
- echo "*********** Debug Build for linux *************"
- scons VERBOSE=false WITH_CLOUD=1 WITH_TCP=1 WITH_PROXY=1 WITH_RA=1 BUILD_JAVA=1 MULTIPLE_OWNER=1 RELEASE=0 ERROR_ON_WARN=0 SECURED=1 WITH_RA_IBB=1
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
// //
#include <sstream> #include <sstream>
#include <cstddef>
#include "octypes.h" #include "octypes.h"
#include "ConcurrentIotivityUtils.h" #include "ConcurrentIotivityUtils.h"
#include "ocpayload.h" #include "ocpayload.h"
......
Markdown is supported
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