Commit 39cb00ee authored by Jacob Gladish's avatar Jacob Gladish

Merge pull request #7 from brendanlong/blong/circleci-dependency-order

CircleCI dependency order
parents 7308a895 78feab9d
machine:
environment:
ALLJOYN_INSTALL_DIR: \$(HOME)/alljoyn-15.09.00a-src/build/linux/x86_64/release/dist/cpp
GTEST_DIR: \$(HOME)/gtest
ALLJOYN_INSTALL_DIR: /home/ubuntu/alljoyn-15.09.00a-src/build/linux/x86_64/release/dist/cpp
GTEST_DIR: /home/ubuntu/gtest
dependencies:
pre:
- sudo apt-get update
- sudo apt-get install libcap-dev scons libgtest-dev
- if [[ ! -e "$GTEST_DIR" ]] ; then
cd "$GTEST_DIR/.." ;
cp -r /usr/src/gtest "$GTEST_DIR" ;
cd "$GTEST_DIR" ;
cmake -DCMAKE_BUILD_TYPE=RELEASE . ;
make ;
fi
- if [[ ! -e ~/alljoyn-15.09.00a-src ]] ; then
cd ~ ;
wget --no-check-certificate https://allseenalliance.org/releases/alljoyn/15.09/alljoyn-15.09.00a-src.tar.gz ;
tar -xf alljoyn-15.09.00a-src.tar.gz ;
cd alljoyn-15.09.00a-src ;
scons BINDINGS=cpp OS=linux CPU=x86_64 VARIANT=release BUILD_SERVICE_SAMPLES=off WS=off BT=off ICE=off -j4 ;
fi
- if [[ ! -e ~/gtest ]] ; then
cd ~ ;
cp -r /usr/src/gtest . ;
cd gtest ;
cmake -DCMAKE_BUILD_TYPE=RELEASE . ;
make ;
fi
fi ;
cd ~/alljoyn-15.09.00a-src ;
unset GTEST_DIR ;
scons BINDINGS=cpp OS=linux CPU=x86_64 VARIANT=release BUILD_SERVICE_SAMPLES=off WS=off BT=off ICE=off -j4
post:
- make -j4
......
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