1 Star 0 Fork 0

李所当然/nghttp3

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
Tatsuhiro Tsujikawa 提交于 2019-07-15 11:22 . Fix travis osx build
dist: xenial
language: cpp
os:
- osx
- linux
osx_image: xcode11
compiler:
- clang
- gcc
env:
- CI_BUILD=cmake
- CI_BUILD=autotools
matrix:
exclude:
# Exclude gcc build (Need some work) with osx
- os: osx
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
- autoconf
- automake
- autotools-dev
- libtool
- pkg-config
- libcunit1-dev
- cmake
- cmake-data
homebrew:
packages:
- cunit
before_install:
- $CC --version
- |
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
CMAKE_OPTS=" -DENABLE_ASAN=1"
AUTOTOOLS_OPTS=" --enable-asan"
if [ "$CXX" = "g++" ]; then
export CXX="g++-8" CC="gcc-8" EXTRA_LDFLAGS="-fuse-ld=gold"
else
export CXX="clang++" CC="clang"
fi
fi
- $CC --version
- cmake --version
before_script:
# configure nghttp3
- |
if [ "$CI_BUILD" == "autotools" ]; then
autoreconf -i && ./configure --enable-werror $AUTOTOOLS_OPTS
fi
- |
if [ "$CI_BUILD" == "cmake" ]; then
cmake $CMAKE_OPTS .
fi
script:
# Now build nghttp3 examples and test
- make
- make check
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/lilw1/nghttp3.git
git@gitee.com:lilw1/nghttp3.git
lilw1
nghttp3
nghttp3
draft-22

搜索帮助

0d507c66 1850385 C8b1a773 1850385