-
Notifications
You must be signed in to change notification settings - Fork 948
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
53 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
dist: trusty | ||
language: cpp | ||
compiler: | ||
- g++ | ||
|
||
branches: | ||
only: | ||
- master | ||
- dev | ||
|
||
env: | ||
global: | ||
- CI_HOME=`pwd` | ||
|
||
|
||
install: | ||
- sudo apt-get install libboost-all-dev -y | ||
- sudo apt-get install libevent-dev -y | ||
- sudo apt-get install libgflags-dev -y | ||
- sudo apt-get install libgtest-dev -y | ||
- sudo apt-get install libgoogle-glog-dev -y | ||
|
||
script: | ||
- g++ --version | ||
- cmake --version | ||
- cd $CI_HOME | ||
- mkdir build && cd build | ||
- cmake -DCMAKE_BUILD_TYPE=debug .. | ||
- make -j2 | ||
- cd .. | ||
- mkdir build-release && cd build-release | ||
- cmake -DCMAKE_BUILD_TYPE=release .. | ||
- make -j2 | ||
|
||
after_success: | ||
- cd $CI_HOME | ||
- pwd | ||
- cd build/bin | ||
- ./evpp_unittest | ||
- cd ../../build-release/bin | ||
- ./evpp_unittest | ||
# - coveralls --exclude dependencies --exclude test --exclude include/rpc/msgpack --exclude include/rcp/msgpack.hpp --gcov /usr/bin/gcov-5 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
add_executable(benchmark_tcp_asio_client client.cpp) | ||
target_link_libraries(benchmark_tcp_asio_client boost_system boost_thread) | ||
target_link_libraries(benchmark_tcp_asio_client boost_system boost_thread pthread) | ||
|
||
add_executable(benchmark_tcp_asio_server server.cpp) | ||
target_link_libraries(benchmark_tcp_asio_server boost_system boost_thread) | ||
target_link_libraries(benchmark_tcp_asio_server boost_system boost_thread pthread) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters