Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
hrzlgnm committed Nov 9, 2023
1 parent 9a7f91f commit eed466f
Showing 3 changed files with 13 additions and 7 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -44,7 +44,12 @@ jobs:
sudo apt-get install ninja-build -q -y
- name: Configure
run: cmake -DCMAKE_BUILD_TYPE=Sanitize -DCMAKE_CXX_FLAGS_SANITIZE="-O2 -g -fsanitize=address,undefined -fno-omit-frame-pointer -fno-common" -GNinja -S . -B ../build/sanitize
run: >-
cmake
-DCMAKE_BUILD_TYPE=Sanitize
-DCMAKE_CXX_FLAGS_SANITIZE="-O2 -g -fsanitize=address,undefined -fno-omit-frame-pointer -fno-common"
-GNinja -S .
-B ../build/sanitize
- name: Build
run: cmake --build ../build/sanitize -j 2
@@ -87,11 +92,10 @@ jobs:
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--allow-shlib-undefined,--as-needed,-z,noexecstack,-z,relro,-z,now"
-DCMAKE_CXX_CLANG_TIDY="clang-tidy;--header-filter=^/home/runner/work/monkey/monkey"
-DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON
-DCMAKE_CXX_CPPCHECK="cppcheck;--inline-suppr;--library=/home/runner/work/monkey/monkey/cppcheck/doctest.cfg"
-DCMAKE_CXX_CPPCHECK="cppcheck;--inline-suppr;--library=/home/runner/work/monkey/monkey/cppcheck/monkey.cfg"
-DCMAKE_CXX_EXTENSIONS=OFF
-DCMAKE_CXX_STANDARD=20
-DCMAKE_CXX_STANDARD_REQUIRED=ON
-Dmonkey_DEVELOPER_MODE=ON
-S .
-B ../build/Release
4 changes: 0 additions & 4 deletions cppcheck/doctest.cfg

This file was deleted.

6 changes: 6 additions & 0 deletions cppcheck/monkey.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0"?>
<def format="2">
<define name="TEST_CASE(...)" value=""/>
<define name="SUBCASE(...)" value=""/>
<define name="FMT_NOEXCEPT" value="noexcept"/>
</def>

0 comments on commit eed466f

Please sign in to comment.