aboutsummaryrefslogtreecommitdiffstats
path: root/.github/prewarm
diff options
context:
space:
mode:
authorNikita Kozlovskiy <nikitka@gmail.com>2023-07-04 08:51:38 +0000
committernkozlovskiy <nmk@ydb.tech>2023-07-04 11:51:38 +0300
commit5339262ca4ffb940e14e659a82a3b50ecaad3506 (patch)
treec5f2ff4edf4abac760eea635c3649c15ea55ccf3 /.github/prewarm
parent2413a1ef29b0b1144d2d1151f4a48277a0b2c8a3 (diff)
downloadydb-5339262ca4ffb940e14e659a82a3b50ecaad3506.tar.gz
ci: build with Release and -UNDEBUG by default
ci: build with Release and -UNDEBUG by default Pull Request resolved: #283
Diffstat (limited to '.github/prewarm')
-rw-r--r--.github/prewarm/build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/prewarm/build.sh b/.github/prewarm/build.sh
index 3d144264ad..b722e82870 100644
--- a/.github/prewarm/build.sh
+++ b/.github/prewarm/build.sh
@@ -13,6 +13,8 @@ echo "::group::cmake"
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER_LAUNCHER=/usr/local/bin/ccache -DCMAKE_CXX_COMPILER_LAUNCHER=/usr/local/bin/ccache \
-DCMAKE_TOOLCHAIN_FILE=../ydb/clang.toolchain \
+-DCMAKE_C_FLAGS_RELWITHDEBINFO="-O2 -UNDEBUG" \
+-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-O2 -UNDEBUG" \
../ydb
echo "::endgroup::"