Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/egecetin/Repo-Init
Browse files Browse the repository at this point in the history
  • Loading branch information
egecetin committed Sep 24, 2023
2 parents 80ec79a + 0ee0e0e commit 422bfba
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Install Test Requirements
run: pip install -r tests/data/requirements.txt
- name: Configure
run: cmake -DCMAKE_BUILD_TYPE=Debug -DXXX_ENABLE_COVERAGE=ON -DXXX_ENABLE_MEMLEAK_CHECK=ON -DXXX_ENABLE_ASAN=OFF -DXXX_ENABLE_USAN=OFF -S . -B build
run: cmake -DCMAKE_BUILD_TYPE=Debug -DXXX_ENABLE_COVERAGE=ON -DXXX_ENABLE_MEMLEAK_CHECK=ON -S . -B build
- name: Build
run: cmake --build build --parallel --target coverage-xml
- name: Upload to Codecov
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Install Test Requirements
run: pip3 install -r tests/data/requirements.txt
- name: Configure
run: cmake -DCMAKE_BUILD_TYPE=Release ${{ matrix.additional-flags }} -S . -B build
run: cmake -DCMAKE_BUILD_TYPE=Release -DXXX_ENABLE_ASAN=ON -DXXX_ENABLE_USAN=ON -S . -B build
- name: Build
run: cmake --build build --parallel
- name: Run Tests
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repos:
hooks:
- id: beautysh
- repo: https://github.com/psf/black
rev: 23.7.0
rev: 23.9.1
hooks:
- id: black
- repo: https://github.com/pocc/pre-commit-hooks
Expand All @@ -43,7 +43,7 @@ repos:
- id: codespell
pass_filenames: false
- repo: https://github.com/crate-ci/typos
rev: v1.16.5
rev: v1.16.11
hooks:
- id: typos
pass_filenames: false
4 changes: 2 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ endif()

configure_file(test-static-definitions.h.in test-static-definitions.h)

option(XXX_ENABLE_ASAN "Enables Address Sanitizer for XXX" ON)
option(XXX_ENABLE_ASAN "Enables Address Sanitizer for XXX" OFF)
option(XXX_ENABLE_MSAN "Enables Memory Sanitizer for XXX" OFF)
option(XXX_ENABLE_USAN "Enables Undefined Behaviour Sanitizer for XXX" ON)
option(XXX_ENABLE_USAN "Enables Undefined Behaviour Sanitizer for XXX" OFF)
option(XXX_ENABLE_TSAN "Enables Thread Sanitizer for XXX" OFF)

# Sanitizers
Expand Down

0 comments on commit 422bfba

Please sign in to comment.