Updating the BUILD_DIR
This commit is contained in:
parent
e29740ed54
commit
4fe800fe50
1 changed files with 4 additions and 3 deletions
|
@ -13,6 +13,8 @@ install:
|
||||||
- sudo apt-get install -qq gcc-5 g++-5 libopencv-dev libcurl4-openssl-dev libssl-dev
|
- sudo apt-get install -qq gcc-5 g++-5 libopencv-dev libcurl4-openssl-dev libssl-dev
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
- mkdir build
|
||||||
|
- export BUILD_DIR=$PWD/build
|
||||||
- wget https://cmake.org/files/v3.8/cmake-3.8.1.tar.gz -O /tmp/cmake.tar.gz
|
- wget https://cmake.org/files/v3.8/cmake-3.8.1.tar.gz -O /tmp/cmake.tar.gz
|
||||||
- mkdir /tmp/cmake
|
- mkdir /tmp/cmake
|
||||||
- tar -xzf /tmp/cmake.tar.gz -C /tmp/cmake
|
- tar -xzf /tmp/cmake.tar.gz -C /tmp/cmake
|
||||||
|
@ -29,9 +31,8 @@ before_script:
|
||||||
- wget https://download.affectiva.com/linux/gcc-5.4/affdex-cpp-sdk-4.0-75-ubuntu-xenial-xerus-x86_64bit.tar.gz -O /tmp/affdex-sdk.tar.gz
|
- wget https://download.affectiva.com/linux/gcc-5.4/affdex-cpp-sdk-4.0-75-ubuntu-xenial-xerus-x86_64bit.tar.gz -O /tmp/affdex-sdk.tar.gz
|
||||||
- mkdir /tmp/affdex-sdk
|
- mkdir /tmp/affdex-sdk
|
||||||
- tar -xzf /tmp/affdex-sdk.tar.gz -C /tmp/affdex-sdk
|
- tar -xzf /tmp/affdex-sdk.tar.gz -C /tmp/affdex-sdk
|
||||||
- mkdir $HOME/build
|
- cd $BUILD_DIR
|
||||||
- cd $HOME/build
|
- cmake -DBOOST_ROOT=/usr/ -DOpenCV_DIR=/usr/ -DAFFDEX_DIR=/tmp/affdex-sdk ..
|
||||||
- cmake -DBOOST_ROOT=/usr/ -DOpenCV_DIR=/usr/ -DAFFDEX_DIR=/tmp/affdex-sdk $HOME/cpp-sdk-samples
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make
|
- make
|
||||||
|
|
Loading…
Reference in a new issue