aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexSm <alex@ydb.tech>2024-02-23 12:51:13 +0100
committerGitHub <noreply@github.com>2024-02-23 12:51:13 +0100
commitc2eeec12f7e3d963348ab7b6efd1aa21abb9e61a (patch)
tree1b10b2bda2ec2b7a318de3438e7f07f45c4626ff
parentbd3ae39ce8350bbc5f9f2c4e0d3971458ea76222 (diff)
downloadydb-c2eeec12f7e3d963348ab7b6efd1aa21abb9e61a.tar.gz
CMake14 build (#2207)
-rw-r--r--.github/actions/build_ya/action.yml10
-rw-r--r--.github/workflows/build_and_test_ya_provisioned.yml2
-rw-r--r--.github/workflows/pr_check.yml18
3 files changed, 29 insertions, 1 deletions
diff --git a/.github/actions/build_ya/action.yml b/.github/actions/build_ya/action.yml
index 281701e7ae..7e20d2a000 100644
--- a/.github/actions/build_ya/action.yml
+++ b/.github/actions/build_ya/action.yml
@@ -7,7 +7,7 @@ inputs:
build_preset:
required: true
default: "relwithdebinfo"
- description: "relwithdebinfo, release-asan, release-tsan"
+ description: "debug, relwithdebinfo, release-asan, release-tsan, release, release-cmake14"
bazel_remote_uri:
required: false
description: "bazel-remote endpoint"
@@ -67,6 +67,14 @@ runs:
relwithdebinfo)
build_type=relwithdebinfo
;;
+ release)
+ build_type=release
+ ;;
+ release-cmake14)
+ build_type=release
+ extra_params+=(--target-platform="CLANG14-LINUX-X86_64")
+ extra_params+=(-DLLD_VERSION=16)
+ ;;
release-asan)
build_type=release
extra_params+=(--sanitize="address")
diff --git a/.github/workflows/build_and_test_ya_provisioned.yml b/.github/workflows/build_and_test_ya_provisioned.yml
index bbab9cf9b8..ee0c8cb872 100644
--- a/.github/workflows/build_and_test_ya_provisioned.yml
+++ b/.github/workflows/build_and_test_ya_provisioned.yml
@@ -13,10 +13,12 @@ on:
description: "Build preset"
options:
- debug
+ - release
- relwithdebinfo
- release-asan
- release-tsan
- release-msan
+ - release-cmake14
test_size:
type: choice
default: "small,medium,large"
diff --git a/.github/workflows/pr_check.yml b/.github/workflows/pr_check.yml
index 8e1a03a83e..fe9e647c94 100644
--- a/.github/workflows/pr_check.yml
+++ b/.github/workflows/pr_check.yml
@@ -199,3 +199,21 @@ jobs:
put_build_results_to_cache: true
commit_sha: ${{ needs.check-running-allowed.outputs.commit_sha }}
secrets: inherit
+ build:
+ needs:
+ - check-running-allowed
+ if: needs.check-running-allowed.outputs.result == 'true' && needs.check-running-allowed.outputs.commit_sha != ''
+ strategy:
+ fail-fast: false
+ matrix:
+ build_preset: ["release-cmake14"]
+ name: Build and test ${{ matrix.build_preset }}
+ uses: ./.github/workflows/build_and_test_ya_provisioned.yml
+ with:
+ build_preset: ${{ matrix.build_preset }}
+ build_target: "ydb/"
+ run_tests: false
+ runner_label: auto-provisioned
+ put_build_results_to_cache: true
+ commit_sha: ${{ needs.check-running-allowed.outputs.commit_sha }}
+ secrets: inherit