瀏覽代碼

Test CMake installation on Travis.

PiperOrigin-RevId: 278300591
xry
Victor Costan 5 年之前
committed by Victor Costan
父節點
當前提交
cf4d9ab23d
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      .travis.yml

+ 2
- 0
.travis.yml 查看文件

@ -70,6 +70,7 @@ install:
before_script:
- mkdir -p build && cd build
- cmake .. -G Ninja -DCMAKE_BUILD_TYPE=$BUILD_TYPE
-DCMAKE_INSTALL_PREFIX=$HOME/.local
- cmake --build .
- cd ..
@ -78,3 +79,4 @@ script:
- "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_tree_db ] ; then build/db_bench_tree_db ; fi"
- cd build && cmake --build . --target install

Loading…
取消
儲存