diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3046db595..8e5ec50f8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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