[ci] Add sanitizer job for undefined behavior
Adds a CI job for an undefined behavior (UB) sanitizer.
Address sanitizer proved too heavy for GitLab shared runner CI, and thread sanitizer is left out as it still needs troubleshooting.
The job configuration draws inspiration from teamcity/build-configurations.yml by Fabien.
Test Plan
- check that
sanitizer-undefined
CI job runs successfully
Merge instructions:
Please squash to use this MR title and description instead of the historical commit from !1638 (closed) from which this MR was branched
Edited by freetrader