2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-09 23:12:23 +00:00

Add ASAN, optional, CI core test.

This commit is contained in:
Rene Rivera
2021-10-02 10:42:13 -05:00
parent 4738baef87
commit afd0ef5d56
2 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
steps:
- bash: |
set -e
uname -a
./.ci/linux-cxx-install.sh
displayName: Install
- bash: |
set -e
cd src/engine
set PATH=${PATH};${CXX_PATH}
./build.sh ${TOOLSET}
./b2 -v
cd ../..
./src/engine/b2 -a address-sanitizer=on toolset=${TOOLSET} b2
displayName: Build
- bash: |
set -e
export B2=`ls -1 .build/*/debug/address-sanitizer-on/cxxstd-11-iso/b2`
cd test
python test_all.py ${TOOLSET}
cd ..
displayName: Test

View File

@@ -107,6 +107,16 @@ stages:
steps:
- template: .ci/azp-macos-test.yml
- job: 'Linux_ASAN'
strategy:
matrix:
Clang ${{variables.clang_latest}}: {TOOLSET: "clang-${{variables.clang_latest}}", PACKAGES: "clang-${{variables.clang_latest}}", LLVM_OS: "${{variables.linux_latest_os}}", LLVM_VER: 13, VM_IMAGE: "${{variables.linux_latest_vm}}"}
pool:
vmImage: $(VM_IMAGE)
continueOnError: 'true'
steps:
- template: .ci/azp-linux-asan-test.yml
- stage: Compilers
dependsOn: [Core]
jobs: