mirror of https://github.com/google/snappy.git
Test CMake installation on Travis.
PiperOrigin-RevId: 278300416
This commit is contained in:
parent
8f32e3fbc0
commit
eb2eb73e6b
|
@ -79,6 +79,7 @@ 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
|
||||||
-DSNAPPY_REQUIRE_${CPU_LEVEL}=ON -DSNAPPY_FUZZING_BUILD=${FUZZING}
|
-DSNAPPY_REQUIRE_${CPU_LEVEL}=ON -DSNAPPY_FUZZING_BUILD=${FUZZING}
|
||||||
|
-DCMAKE_INSTALL_PREFIX=$HOME/.local
|
||||||
- cmake --build .
|
- cmake --build .
|
||||||
- cd ..
|
- cd ..
|
||||||
|
|
||||||
|
@ -90,3 +91,4 @@ script:
|
||||||
- if [ -f build/snappy_uncompress_fuzzer ]; then
|
- if [ -f build/snappy_uncompress_fuzzer ]; then
|
||||||
build/snappy_uncompress_fuzzer -runs=1000 -close_fd_mask=3;
|
build/snappy_uncompress_fuzzer -runs=1000 -close_fd_mask=3;
|
||||||
fi
|
fi
|
||||||
|
- cd build && cmake --build . --target install
|
||||||
|
|
Loading…
Reference in New Issue