Skip to content

Commit

Permalink
Add CI for asan (open-telemetry#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnburn authored Jan 13, 2020
1 parent 1dc9e2f commit 2b23aec
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ jobs:
- run: ./ci/install_bazelisk.sh
- run: ./ci/do_ci.sh bazel.test

bazel_asan:
resource_class: xlarge
docker:
- image: ubuntu:18.04
steps:
- checkout
- run: ./ci/setup_ci_environment.sh
- run: ./ci/install_bazelisk.sh
- run: ./ci/do_ci.sh bazel.asan

osx_test:
macos:
xcode: "11.0.0"
Expand All @@ -61,5 +71,6 @@ workflows:
- cmake_test
- gcc_48_test
- bazel_test
- bazel_asan
- osx_test
- windows
3 changes: 3 additions & 0 deletions ci/do_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ elif [[ "$1" == "bazel.test" ]]; then
bazel build $BAZEL_OPTIONS -- //...
bazel test $BAZEL_TEST_OPTIONS //...
exit 0
elif [[ "$1" == "bazel.asan" ]]; then
bazel test --config=asan $BAZEL_TEST_OPTIONS //...
exit 0
else
echo "Invalid do_ci.sh target, see ci/README.md for valid targets."
exit 1
Expand Down

0 comments on commit 2b23aec

Please sign in to comment.