Add Address Sanitizer support to MSVC and CMake (#182)

* msvc: Add Address Sanitizer

https://devblogs.microsoft.com/cppblog/addresssanitizer-asan-for-windows-with-msvc/

* cmake: Add Address Sanitizer

* docs: Update ReadME

* see if we can replicate the test failure

* windows fixes maybe

* cmake: Compile with gcc and clang (only coverage on

* hacky try again

* clean up

* fix clang issues

* linting

Co-authored-by: water <awaterford111445@gmail.com>
This commit is contained in:
Tyler Wilding
2021-01-04 23:32:51 -05:00
committed by GitHub
parent 3c2faed367
commit 69f7f46477
12 changed files with 153 additions and 90 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os: [windows-2019]
config: [Debug] # TODO - Eventually we need to make a Release Config
config: [Release]
experimental: [false]
name: ${{ matrix.config }}
@@ -76,7 +76,7 @@ jobs:
run: |
call "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvars64.bat"
cmake --version
cmake -B build -DCMAKE_BUILD_TYPE=Debug -G "NMake Makefiles" .
cmake -B build -DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles" .
- name: Build Project
working-directory: ./build