代码拉取完成,页面将自动刷新
# Copyright (C) 2017 Sebastian Pipping <sebastian@pipping.org>
# Licensed under GNU LGPL v2.1 or later
language: cpp
dist: xenial
script:
- set -e
- ./autogen.sh
- compile_flags=(
-pipe
-O1
-g
-fsanitize=address
-fno-omit-frame-pointer
-Wall
-Wextra
-pedantic
)
&& CXXFLAGS="${compile_flags[*]} -std=c++11"
&& configure_args=(
CC=clang-7
CXX=clang++-7
CXXFLAGS="${CXXFLAGS}"
LDFLAGS='-g -fsanitize=address'
--enable-doc
)
&& ./configure "${configure_args[@]}" # -Werror would fail configure checks!
- make CXXFLAGS="${CXXFLAGS} -Werror" all
- make CXXFLAGS="${CXXFLAGS} -Werror" check
- ./test/mytest # i.e. ensure that the example exits with code 0
- ./test/mytest --compiler
- ./test/mytest --html
- ./test/mytest --text-terse
- ./test/mytest --text-verbose
- make distcheck # without AddressSanitizer
- ./check-abi.sh
addons:
apt:
sources:
# Clang 7:
- llvm-toolchain-xenial-7
- ubuntu-toolchain-r-test
packages:
- abi-compliance-checker
- clang-7
- doxygen
- lzip
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。