Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
c916ff61
Commit
c916ff61
authored
May 24, 2019
by
zhujiashun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make compile-with-bazel in .travis.yml
parent
f22f04f8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
.travis.yml
.travis.yml
+1
-0
build_in_travis_ci.sh
build_in_travis_ci.sh
+0
-2
recordio_unittest.cpp
test/recordio_unittest.cpp
+1
-0
No files found.
.travis.yml
View file @
c916ff61
...
...
@@ -29,4 +29,5 @@ install:
-
if [[ "$USE_MESALINK" == "yes" ]]; then curl https://sh.rustup.rs -sSf | sh -s -- -y && source $HOME/.cargo/env && wget https://github.com/mesalock-linux/mesalink/archive/v0.8.0.tar.gz && tar -xf v0.8.0.tar.gz && cd mesalink-0.8.0 && ./autogen.sh --prefix=/usr/ && make && sudo make install && cd - ; fi
script
:
-
if [[ "$PURPOSE" == "compile-with-bazel" ]]; then bazel build -j 12 -c opt --copt -DHAVE_ZLIB=1 //... ; fi
-
sh build_in_travis_ci.sh
build_in_travis_ci.sh
View file @
c916ff61
...
...
@@ -40,8 +40,6 @@ elif [ "$PURPOSE" = "unittest" ]; then
init_make_config
cd test
make
-j4
&&
sh ./run_tests.sh
elif
[
"
$PURPOSE
"
=
"compile-with-bazel"
]
;
then
bazel build
-j
12
-c
opt
--copt
-DHAVE_ZLIB
=
1 //...
elif
[
"
$PURPOSE
"
=
"compile-with-cmake"
]
;
then
rm
-rf
bld
&&
mkdir
bld
&&
cd
bld
&&
cmake ..
&&
make
-j4
else
...
...
test/recordio_unittest.cpp
View file @
c916ff61
#include <map>
#include <gtest/gtest.h>
#include "butil/recordio.h"
#include "butil/fast_rand.h"
...
...
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