Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
App_Technologies
portabledsb
Commits
39cb00ee
Commit
39cb00ee
authored
Jan 06, 2016
by
Jacob Gladish
Browse files
Merge pull request #7 from brendanlong/blong/circleci-dependency-order
CircleCI dependency order
parents
7308a895
78feab9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
circle.yml
View file @
39cb00ee
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment