CCF/.multi-thread.yml

55 строки
1.5 KiB
YAML

trigger:
batch: true
branches:
include:
- main
exclude:
- "release/[0-3].x"
pr:
branches:
include:
- main
exclude:
- "release/[0-3].x"
paths:
include:
- .multi-thread.yml
- .threading_canary
resources:
containers:
- container: virtual
image: ccfmsrc.azurecr.io/ccf/ci:2024-06-26-virtual-clang15
options: --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE -v /lib/modules:/lib/modules:ro
jobs:
- template: .azure-pipelines-templates/configure.yml
- template: .azure-pipelines-templates/common.yml
parameters:
target: Virtual
env:
container: virtual
pool: ado-virtual-ccf-sub
cmake_args: "-DCOMPILE_TARGET=virtual -DWORKER_THREADS=2"
cmake_env: "CC=`which clang-15` CXX=`which clang++-15`"
suffix: "MultiThread"
artifact_name: "MultiThread"
ctest_filter: '-LE "perf"'
depends_on: configure
installExtendedTestingTools: false
- template: .azure-pipelines-templates/common.yml
parameters:
target: Virtual
env:
container: virtual
pool: ado-virtual-ccf-sub
cmake_args: "-DCOMPILE_TARGET=virtual -DWORKER_THREADS=2 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DTSAN=ON -DLVI_MITIGATIONS=OFF"
cmake_env: "CC=`which clang-15` CXX=`which clang++-15`"
suffix: "MultiThreadTsan"
artifact_name: "MultiThreadTsan"
depends_on: configure
installExtendedTestingTools: false