Skip to content

[Do not merge]Add simpler sanitizer test #743

[Do not merge]Add simpler sanitizer test

[Do not merge]Add simpler sanitizer test #743

Workflow file for this run

name: Sanitize
on:
pull_request_review:
types: [submitted]
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
get_dependencies:
name: "Dependencies"
uses: ./.github/workflows/dependencies.yaml
build_and_run_sanitizer:
name: ${{ matrix.mode }}
needs: get_dependencies
strategy:
matrix:
mode: ["asan", "msan", "tsan", "ubsan"]
fail-fast: false
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/cache/restore@v4
with:
path: deps
key: ${{ needs.get_dependencies.outputs.cache_key }}
- name: Build [${{ matrix.mode }}]
run: ${{ github.workspace }}/.github/workflows/sanitizers/build_sanitizer.sh ${{ matrix.mode }}
- name: UT [c++,${{ matrix.mode }}]
run: ${{ github.workspace }}/cmake.bld/Linux/run-unittests.sh