diff options
author | nkozlovskiy <nmk@ydb.tech> | 2023-11-28 13:45:52 +0300 |
---|---|---|
committer | nkozlovskiy <nmk@ydb.tech> | 2023-11-28 16:01:40 +0300 |
commit | 98e5e728807dc1d7f37e3b0dea3ffc52e30c267f (patch) | |
tree | 6a3c070c59e9aa5b1e3b91c49b54c2d344402ccf /.github | |
parent | 054d50d7e5c064fb26976da3b366b3ad0ed68bb1 (diff) | |
download | ydb-98e5e728807dc1d7f37e3b0dea3ffc52e30c267f.tar.gz |
ydb-oss: add periodical task for preward build cache for debug build
Diffstat (limited to '.github')
-rw-r--r-- | .github/actions/build_ya/action.yml | 3 | ||||
-rw-r--r-- | .github/actions/s3cmd/action.yml | 3 | ||||
-rw-r--r-- | .github/actions/test_ya/action.yml | 3 | ||||
-rw-r--r-- | .github/workflows/build_and_test_ya_ondemand.yml | 1 | ||||
-rw-r--r-- | .github/workflows/build_and_test_ya_provisioned.yml | 1 | ||||
-rw-r--r-- | .github/workflows/prewarm-debug.yaml | 16 |
6 files changed, 27 insertions, 0 deletions
diff --git a/.github/actions/build_ya/action.yml b/.github/actions/build_ya/action.yml index 7ebcd115ab..a42afee3a7 100644 --- a/.github/actions/build_ya/action.yml +++ b/.github/actions/build_ya/action.yml @@ -55,6 +55,9 @@ runs: fi case "${{ inputs.build_preset }}" in + debug) + build_type=debug + ;; relwithdebinfo) build_type=relwithdebinfo ;; diff --git a/.github/actions/s3cmd/action.yml b/.github/actions/s3cmd/action.yml index ef3ba8a710..ab98660381 100644 --- a/.github/actions/s3cmd/action.yml +++ b/.github/actions/s3cmd/action.yml @@ -41,6 +41,9 @@ runs: case "${{ inputs.build_preset }}" in relwithdebinfo) ;; + debug) + folder+="-debug" + ;; release-asan) folder+="-asan" ;; diff --git a/.github/actions/test_ya/action.yml b/.github/actions/test_ya/action.yml index ecb96cd5dd..ad6f23a401 100644 --- a/.github/actions/test_ya/action.yml +++ b/.github/actions/test_ya/action.yml @@ -151,6 +151,9 @@ runs: # FIXME: copy-paste from build_ya case "${{ inputs.build_preset }}" in + debug) + build_type=debug + ;; relwithdebinfo) build_type=relwithdebinfo ;; diff --git a/.github/workflows/build_and_test_ya_ondemand.yml b/.github/workflows/build_and_test_ya_ondemand.yml index 0029ec4915..2126be0976 100644 --- a/.github/workflows/build_and_test_ya_ondemand.yml +++ b/.github/workflows/build_and_test_ya_ondemand.yml @@ -16,6 +16,7 @@ on: default: "relwithdebinfo" description: "Build preset" options: + - debug - relwithdebinfo - release-asan - release-tsan diff --git a/.github/workflows/build_and_test_ya_provisioned.yml b/.github/workflows/build_and_test_ya_provisioned.yml index 7285078de0..422724da34 100644 --- a/.github/workflows/build_and_test_ya_provisioned.yml +++ b/.github/workflows/build_and_test_ya_provisioned.yml @@ -12,6 +12,7 @@ on: default: "relwithdebinfo" description: "Build preset" options: + - debug - relwithdebinfo - release-asan - release-tsan diff --git a/.github/workflows/prewarm-debug.yaml b/.github/workflows/prewarm-debug.yaml new file mode 100644 index 0000000000..932ac4cdf9 --- /dev/null +++ b/.github/workflows/prewarm-debug.yaml @@ -0,0 +1,16 @@ +name: Prewarm-debug +on: + schedule: + - cron: "15 */6 * * *" + workflow_dispatch: + +jobs: + build_ya_make: + name: Build/test x86_64 using YA + uses: ./.github/workflows/build_and_test_ya_provisioned.yml + secrets: inherit + with: + build_target: ydb/ + build_preset: debug + run_build: true + run_tests: false |