Skip to content

Commit

Permalink
ci: enable cpptrace for c++20 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
DNKpp committed Dec 23, 2024
1 parent 61f0ae4 commit a94a72b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,12 @@ jobs:
run: |
echo "ASAN_OPTIONS=$(echo $ASAN_OPTIONS:alloc_dealloc_mismatch=0)" >> $GITHUB_ENV
- name: Enable cpptrace if c++20
if: ${{ matrix.cxx_standard == 20 }}
shell: bash
run: |
echo "CMAKE_CONFIG_EXTRA=$(echo $CMAKE_CONFIG_EXTRA -MIMICPP_CONFIG_EXPERIMENTAL_USE_CPPTRACE=YES)" >> $GITHUB_ENV
- name: Configure
shell: bash
run: |
Expand All @@ -408,6 +414,7 @@ jobs:
--log-level=DEBUG \
-D CMAKE_VERBOSE_MAKEFILE=YES \
-D MIMICPP_FORCED_CXX_STANDARD="${{ matrix.cxx_standard }}" \
-D MIMICPP_CONFIG_EXPERIMENTAL_STACKTRACE=YES \
${{ env.CMAKE_CONFIG_EXTRA }}
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
-D MIMICPP_CONFIG_EXPERIMENTAL_CATCH2_MATCHER_INTEGRATION=YES \
-D MIMICPP_CONFIG_EXPERIMENTAL_UNICODE_STR_MATCHER=YES \
-D MIMICPP_CONFIG_EXPERIMENTAL_STACKTRACE=YES \
-D MIMICPP_CONFIG_USE_CPPTRACE=YES
-D MIMICPP_CONFIG_EXPERIMENTAL_USE_CPPTRACE=YES
- name: Build
run: |
Expand Down

0 comments on commit a94a72b

Please sign in to comment.