aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaksim Kita <kitaetoya@gmail.com>2023-05-08 14:30:28 +0000
committeralexv-smirnov <alex@ydb.tech>2023-05-08 17:30:28 +0300
commit5523ac2e2e80f6499ae2e8b20aeb11a75aa74ff8 (patch)
tree46ae9a93a0353c2d5f063a20f2289fc7c1449c2e
parent4a5cd6c92018036c598ae098563bef861bcc5316 (diff)
downloadydb-5523ac2e2e80f6499ae2e8b20aeb11a75aa74ff8.tar.gz
"Fix stacktraces builds"
"Fix stacktraces builds" Pull Request resolved: #193
-rw-r--r--.github/actions/build/action.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml
index ee2a8e4328..8ecc132aa7 100644
--- a/.github/actions/build/action.yml
+++ b/.github/actions/build/action.yml
@@ -4,7 +4,7 @@ inputs:
sanitizer:
required: false
type: string
-
+
runs:
using: "composite"
steps:
@@ -18,8 +18,8 @@ runs:
rm -rf *
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_TOOLCHAIN_FILE=../ydb/clang.toolchain \
- -DCMAKE_CXX_FLAGS="-fsanitize=${{ inputs.sanitizer }} -fno-omit-frame-pointer" \
- -DCMAKE_C_FLAGS="-fsanitize=${{ inputs.sanitizer }} -fno-omit-frame-pointer" \
+ -DCMAKE_CXX_FLAGS="-fsanitize=${{ inputs.sanitizer }} -g -fno-omit-frame-pointer" \
+ -DCMAKE_C_FLAGS="-fsanitize=${{ inputs.sanitizer }} -g -fno-omit-frame-pointer" \
../ydb
- name: Configure
shell: bash
@@ -28,7 +28,11 @@ runs:
mkdir -p ../build
cd ../build
rm -rf *
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_TOOLCHAIN_FILE=../ydb/clang.toolchain ../ydb
+ cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
+ -DCMAKE_TOOLCHAIN_FILE=../ydb/clang.toolchain \
+ -DCMAKE_CXX_FLAGS="-g" \
+ -DCMAKE_C_FLAGS="-g" \
+ ../ydb
- name: Build
shell: bash
run: |