aboutsummaryrefslogtreecommitdiffstats
path: root/.github/prewarm/build.sh
blob: 8779edad0f17ae45027af5bf45b9d10a364e583c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
set -e

export CONAN_USER_HOME=/ydbwork/build
export CCACHE_SLOPPINESS=locale
export CCACHE_BASEDIR=/ydbwork/

export CONAN_USER_HOME=/ydbwork/build

export CC=/usr/bin/clang-14
export CC_FOR_BUILD=$CC

mkdir /ydbwork/build
cd /ydbwork/build

echo "::group::cmake"
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \
-DCCACHE_PATH=/usr/local/bin/ccache \
-DCMAKE_TOOLCHAIN_FILE=../ydb/clang.toolchain \
../ydb
echo "::endgroup::"


echo "::group::ninja"
#ninja ydb/apps/ydb/all
ninja
echo "::endgroup::"

ccache -s