Skip to content

condy0919/bipolar

Repository files navigation

Build Status Build Status Codacy Badge Codecov Badge MIT License Language

bipolar

bipolar is a nano library aimed at concurrency programming.

Basic

How to start

bipolar writes in C++17, a latest version of gcc/clang is recommended.

bazel is required to build and run tests/benchmarks/examples.

Build

bazel build //...

Test and benchmark

Actually tests and benchmarks are all cc_test except a benchmark tag.

All:

bazel test //...

Only tests:

bazel test //... --test_tag_filters=-benchmark,-example

Only benchmarks:

bazel test //... --test_tag_filters=benchmark

Only examples:

bazel test //... --test_tag_filters=example

Coverage

bazel test //... --config=kcov

generates code coverage reports by kcov.

Checks bazel-kcov directory for code coverage.

FAQ

Contributing

Interested in getting involved? We would love to help you! For simple bug fixes, just submit a PR with the fix and we can discuss the fix directly in the PR. If the fix is more complex, start with an issue.