Enable Address Sanitizser in Github Actions
authorCharles Giessen <charles@lunarg.com>
Tue, 18 Jan 2022 22:54:20 +0000 (15:54 -0700)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Tue, 18 Jan 2022 23:02:17 +0000 (16:02 -0700)
.github/workflows/build.yml

index 781107794c2e01d5eef340d53b56e2596a616d48..84db554613215dc832648bfff119c4615097a6a7 100644 (file)
@@ -47,7 +47,7 @@ jobs:
             - run: sudo apt install libwayland-dev libxrandr-dev
 
             - name: Generate build files
-              run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=${{matrix.config}} -DBUILD_TESTS=On -DUPDATE_DEPS=ON
+              run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=${{matrix.config}} -DBUILD_TESTS=On -DUPDATE_DEPS=ON -DTEST_USE_ADDRESS_SANITIZER=ON
               env:
                 CC: ${{matrix.cc}}
                 CXX: ${{matrix.cxx}}
@@ -111,7 +111,7 @@ jobs:
                 python-version: '3.7'
 
             - name: Generate build files
-              run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=${{matrix.config}} -DBUILD_TESTS=On -DUPDATE_DEPS=ON
+              run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=${{matrix.config}} -DBUILD_TESTS=On -DUPDATE_DEPS=ON -DTEST_USE_ADDRESS_SANITIZER=ON
 
             - name: Build the loader
               run: make -C build