Skip to content

Commit e7cdc1e

Browse files
committed
Hardcode the arcadia roots for github actions
1 parent cb7c2d9 commit e7cdc1e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/actions/build/action.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ runs:
99
run: |
1010
mkdir -p ../build
1111
rm -rf ../build/*
12-
cmake -DYDB_SDK_TESTS=On -DYDB_SDK_EXAMPLES=On --preset release
12+
cmake -DYDB_SDK_TESTS=On -DYDB_SDK_EXAMPLES=On -DARCADIA_ROOT="../ydb-cpp-sdk" -DARCADIA_BUILD_ROOT="." --preset release
1313
- name: Build
1414
shell: bash
1515
run: |

util/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -698,8 +698,8 @@ endif()
698698

699699
# These definitions are needed to `util/system/src_root.h` works properly
700700
target_compile_definitions(yutil PUBLIC
701-
ARCADIA_ROOT=${YDB_SDK_SOURCE_DIR}
702-
ARCADIA_BUILD_ROOT=${YDB_SDK_BINARY_DIR}
701+
ARCADIA_ROOT=${ARCADIA_ROOT}
702+
ARCADIA_BUILD_ROOT=${ARCADIA_BUILD_ROOT}
703703
)
704704

705705
_ydb_sdk_install_targets(TARGETS yutil)

0 commit comments

Comments
 (0)