1 Star 0 Fork 0

Simon-Feng/cpp_redis

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 960 Bytes
一键复制 编辑 原始数据 按行查看 历史
Henrik Lindblom 提交于 2022-10-15 07:26 . Cmake refactor (#52)
language: cpp
compiler:
- clang
- gcc
cache: ccache
os:
- linux
- osx
services:
- redis-server
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- clang
before_install:
- source scripts/prepare.sh
install:
- source scripts/install-osx-dependencies.sh
- source scripts/install-cmake.sh
before_script:
- source scripts/start-redis.sh
# create a build folder for the out-of-source build
- mkdir build
# switch to build directory
- cd build
# run cmake; here we assume that the project's
# top-level CMakeLists.txt is located at '..'
- ls ${CMAKE_INSTALL_DIR}
- ls ${CMAKE_INSTALL_DIR}/bin
- env
- which cmake
- cmake --version
- cmake .. -DBUILD_TESTS=true -DBUILD_EXAMPLES=true
script:
# once CMake has done its job we just build using make as usual
- make
# if the project uses ctest we can run the tests like this
- GTEST_COLOR=1 ctest -VV
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/simonfeng/cpp_redis.git
git@gitee.com:simonfeng/cpp_redis.git
simonfeng
cpp_redis
cpp_redis
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385