1 Star 0 Fork 3

Mrqiang / raft

forked from mphyatyh / raft 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.04 KB
AI 代码解读
一键复制 编辑 原始数据 按行查看 历史
Mathieu Borderé 提交于 2021-07-28 13:27 . CI: No longer test with -O0 flag
language: c
addons:
apt:
packages:
- lcov
- linux-libc-dev
- libuv1-dev
- liblz4-dev
- btrfs-progs
- xfsprogs
- zfsutils-linux
jobs:
include:
- if: type != pull_request
compiler: gcc
dist: bionic
arch: s390x
- if: type == pull_request
compiler: gcc
dist: bionic
arch: arm64
- if: type != pull_request
compiler: clang
dist: bionic
arch: ppc64le
before_script:
- git clone --depth 1 https://github.com/edlund/amalgamate.git
- export PATH=$PATH:$PWD/amalgamate
script:
- autoreconf -i
- |
if [ $TRAVIS_CPU_ARCH = "s390x" ] || [ $TRAVIS_CPU_ARCH = "arm64" ]; then
./configure --enable-example --enable-debug
else
./configure --enable-example --enable-debug --enable-sanitize
fi
- amalgamate.py --config=amalgamation.json --source=$(pwd)
- $CC raft.c -c -D_GNU_SOURCE -DHAVE_LINUX_AIO_ABI_H -Wall -Wextra -Wpedantic -fpic
- ./test/lib/fs.sh setup
- make check $(./test/lib/fs.sh detect) || (cat ./test-suite.log && false)
- ./test/lib/fs.sh teardown
1
https://gitee.com/mrlqiang/raft.git
git@gitee.com:mrlqiang/raft.git
mrlqiang
raft
raft
master

搜索帮助