Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use spectatord #77

Merged
merged 8 commits into from
Sep 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
build --cxxopt='-std=c++17' --cxxopt='-Wall' --cxxopt='-fno-omit-frame-pointer'

# Address sanitizer
# To use it: bazel build --config asan
build:asan --strip=never
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ cmake-build-*
logs/
.idea/
.vscode/
.clwb
36 changes: 20 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,32 @@
language: cpp
dist: xenial
dist: bionic
script: ./run-build.sh

addons:
apt:
sources:
- sourceline: 'deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8'
key_url: 'https://bazel.build/bazel-release.pub.gpg'
- sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
- sourceline: 'ppa:ubuntu-toolchain-r/test'
packages:
- bazel-3.5.0
- clang-11
- g++-10
- binutils-dev
- lcov

matrix:
include:
- os: linux
compiler: gcc
env: CC='gcc' CXX='g++'
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- lcov

- os: linux
compiler: clang
env: CC='clang' CXX='clang++'

after_success:
- ./create-lcov-report.sh
# Uploading report to CodeCov
- bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"

env:
global:
- LANG="en_US.UTF-8"

cache:
directories:
- $HOME/.cache/bazel
Loading