Test CMake installation on Travis.
PiperOrigin-RevId: 278300591
This commit is contained in:
parent
95d0ba1cb0
commit
cf4d9ab23d
@ -70,6 +70,7 @@ install:
|
|||||||
before_script:
|
before_script:
|
||||||
- mkdir -p build && cd build
|
- mkdir -p build && cd build
|
||||||
- cmake .. -G Ninja -DCMAKE_BUILD_TYPE=$BUILD_TYPE
|
- cmake .. -G Ninja -DCMAKE_BUILD_TYPE=$BUILD_TYPE
|
||||||
|
-DCMAKE_INSTALL_PREFIX=$HOME/.local
|
||||||
- cmake --build .
|
- cmake --build .
|
||||||
- cd ..
|
- cd ..
|
||||||
|
|
||||||
@ -78,3 +79,4 @@ script:
|
|||||||
- "if [ -f build/db_bench ] ; then build/db_bench ; fi"
|
- "if [ -f build/db_bench ] ; then build/db_bench ; fi"
|
||||||
- "if [ -f build/db_bench_sqlite3 ] ; then build/db_bench_sqlite3 ; fi"
|
- "if [ -f build/db_bench_sqlite3 ] ; then build/db_bench_sqlite3 ; fi"
|
||||||
- "if [ -f build/db_bench_tree_db ] ; then build/db_bench_tree_db ; fi"
|
- "if [ -f build/db_bench_tree_db ] ; then build/db_bench_tree_db ; fi"
|
||||||
|
- cd build && cmake --build . --target install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user