ZeroTierOne/ext/opentelemetry-cpp-1.21.0/ci
2025-07-11 10:37:21 -07:00
..
ports/protobuf add otel library to ext 2025-07-11 10:37:21 -07:00
do_ci.ps1 add otel library to ext 2025-07-11 10:37:21 -07:00
do_ci.sh add otel library to ext 2025-07-11 10:37:21 -07:00
docfx.cmd add otel library to ext 2025-07-11 10:37:21 -07:00
docfx.json add otel library to ext 2025-07-11 10:37:21 -07:00
fix-abseil-cpp-issue-1536.patch add otel library to ext 2025-07-11 10:37:21 -07:00
install_abseil.sh add otel library to ext 2025-07-11 10:37:21 -07:00
install_bazelisk.sh add otel library to ext 2025-07-11 10:37:21 -07:00
install_format_tools.sh add otel library to ext 2025-07-11 10:37:21 -07:00
install_gcc48.sh add otel library to ext 2025-07-11 10:37:21 -07:00
install_osx_bazelisk.sh add otel library to ext 2025-07-11 10:37:21 -07:00
install_protobuf.sh add otel library to ext 2025-07-11 10:37:21 -07:00
install_windows_bazelisk.ps1 add otel library to ext 2025-07-11 10:37:21 -07:00
install_windows_protobuf.ps1 add otel library to ext 2025-07-11 10:37:21 -07:00
README.md add otel library to ext 2025-07-11 10:37:21 -07:00
run_docker.sh add otel library to ext 2025-07-11 10:37:21 -07:00
setup_ci_environment.sh add otel library to ext 2025-07-11 10:37:21 -07:00
setup_cmake.ps1 add otel library to ext 2025-07-11 10:37:21 -07:00
setup_cmake.sh add otel library to ext 2025-07-11 10:37:21 -07:00
setup_cmake_macos.sh add otel library to ext 2025-07-11 10:37:21 -07:00
setup_gcc10.sh add otel library to ext 2025-07-11 10:37:21 -07:00
setup_googletest.sh add otel library to ext 2025-07-11 10:37:21 -07:00
setup_grpc.sh add otel library to ext 2025-07-11 10:37:21 -07:00
setup_windows_ci_environment.ps1 add otel library to ext 2025-07-11 10:37:21 -07:00
toc.yml add otel library to ext 2025-07-11 10:37:21 -07:00
valgrind-suppressions add otel library to ext 2025-07-11 10:37:21 -07:00
verify_packages.sh add otel library to ext 2025-07-11 10:37:21 -07:00

Building and running tests as a developer

CI tests can be run on docker by invoking the script ./ci/run_docker.sh ./ci/do_ci.sh {TARGET}or inside devcontainer by invoking the script ./ci/do_ci.sh {TARGET} where the targets are:

  • cmake.test: build cmake targets and run tests.
  • cmake.maintainer.test: build with cmake and test, in maintainer mode.
  • cmake.legacy.test: build cmake targets with gcc 4.8 and run tests.
  • cmake.c++20.test: build cmake targets with the C++20 standard and run tests.
  • cmake.test_example_plugin: build and test an example OpenTelemetry plugin.
  • cmake.exporter.otprotocol.test: build and test the otprotocol exporter
  • bazel.test: build bazel targets and run tests.
  • bazel.legacy.test: build bazel targets and run tests for the targets meant to work with older compilers.
  • bazel.noexcept: build bazel targets and run tests with exceptions disabled.
  • bazel.nortti: build bazel targets and run tests with runtime type identification disabled.
  • bazel.asan: build bazel targets and run tests with AddressSanitizer.
  • bazel.tsan: build bazel targets and run tests with ThreadSanitizer.
  • bazel.valgrind: build bazel targets and run tests under the valgrind memory checker.
  • benchmark: run all benchmarks.
  • format: use tools/format.sh to enforce text formatting.
  • third_party.tags: store third_party release tags.
  • code.coverage: build cmake targets with CXX option --coverage and run tests.

Additionally, ./ci/run_docker.sh can be invoked with no arguments to get a docker shell where tests can be run manually.