Skip to content

WIP: [ci] Add sanitizer jobs (asan + ubsan)

Co-authored-by: freetrader freetrader@tuta.io

Adds CI jobs for the address and undefined sanitizers. Adapted from !822 (closed) to remove the thread sanitizer for now, as that still produces failures, but should not block us from introducing the other sanitizers.

Uses bitcoincashnode/buildenv:debian-v2 docker image which supplies a more recent Clang toolset (currently: v11, but planned to update to v12)

The job configuration draws inspiration from teamcity/build-configurations.yml by Fabien.

Test plan:

  • observe sanitizer jobs passing in CI

TODO:

  • check if debian-v2 image can be applied only to sanitizers
  • adapt build env docker (debian-v2 or v3?) to clang-12
  • test stability of sanitizer CI jobs
Edited by freetrader

Merge request reports