aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikita Kozlovskiy <nikitka@gmail.com>2023-05-16 10:35:45 +0000
committernkozlovskiy <nkozlovskiy@yandex-team.com>2023-05-16 13:35:45 +0300
commita2e846788b0a6d372d15ab5de915616cc6bc00ce (patch)
treeb5d154cc6e403f21fe30c2e3728f9846178ae99c
parent6d5e6dcc4c61046cc83599d4789a92f7bdc4b223 (diff)
downloadydb-a2e846788b0a6d372d15ab5de915616cc6bc00ce.tar.gz
preserve backtraces
preserve backtraces Pull Request resolved: #215
-rw-r--r--.github/actions/build/action.yml14
1 files changed, 8 insertions, 6 deletions
diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml
index 8ecc132aa7..07c609a7ae 100644
--- a/.github/actions/build/action.yml
+++ b/.github/actions/build/action.yml
@@ -16,10 +16,12 @@ runs:
patch -p1 < ydb/deploy/patches/0001-sanitizer-build.patch
cd ../build
rm -rf *
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
+ cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_TOOLCHAIN_FILE=../ydb/clang.toolchain \
- -DCMAKE_CXX_FLAGS="-fsanitize=${{ inputs.sanitizer }} -g -fno-omit-frame-pointer" \
- -DCMAKE_C_FLAGS="-fsanitize=${{ inputs.sanitizer }} -g -fno-omit-frame-pointer" \
+ -DCMAKE_CXX_FLAGS="-fsanitize=${{ inputs.sanitizer }} -fno-omit-frame-pointer" \
+ -DCMAKE_C_FLAGS="-fsanitize=${{ inputs.sanitizer }} -fno-omit-frame-pointer" \
+ -DCMAKE_ENABLE_EXPORTS=true \
../ydb
- name: Configure
shell: bash
@@ -28,10 +30,10 @@ runs:
mkdir -p ../build
cd ../build
rm -rf *
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
+ cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_TOOLCHAIN_FILE=../ydb/clang.toolchain \
- -DCMAKE_CXX_FLAGS="-g" \
- -DCMAKE_C_FLAGS="-g" \
+ -DCMAKE_ENABLE_EXPORTS=true \
../ydb
- name: Build
shell: bash