Skip to content

Commit

Permalink
fix: disable cpptrace when vectorcall is enabled in ci/cd builds
Browse files Browse the repository at this point in the history
  • Loading branch information
DNKpp committed Dec 23, 2024
1 parent 4411836 commit e5982f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,11 @@ jobs:
run: |
echo "ASAN_OPTIONS=$(echo $ASAN_OPTIONS:alloc_dealloc_mismatch=0)" >> $GITHUB_ENV
# std::stacktrace is not supported on c++20.
# cpptrace has issues with alternative default call convention
# see: https://github.com/jeremy-rifkin/cpptrace/issues/197
- name: Enable cpptrace if c++20
if: ${{ matrix.cxx_standard == 20 }}
if: ${{ matrix.cxx_standard == 20 && matrix.config.default_call_convention != 'vectorcall' }}
shell: bash
run: |
echo "CMAKE_CONFIG_EXTRA=$(echo $CMAKE_CONFIG_EXTRA -DMIMICPP_CONFIG_EXPERIMENTAL_USE_CPPTRACE=YES)" >> $GITHUB_ENV
Expand Down

0 comments on commit e5982f0

Please sign in to comment.