diff options
author | Alexander Smirnov <alex@ydb.tech> | 2023-12-14 15:02:45 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-12-14 16:15:28 +0300 |
commit | 7604a0f075df258b85700a9f3e51dd94e24b843f (patch) | |
tree | 78233b0750d46f0825ea252247391099a8187d48 | |
parent | b7ae5a917e6cef6414a371214baacc08b5364ef6 (diff) | |
download | ydb-7604a0f075df258b85700a9f3e51dd94e24b843f.tar.gz |
Split postcommits in two workflows
Split postcommits in two workflows
Pull Request resolved: https://github.com/ydb-platform/ydb/pull/518
-rw-r--r-- | .github/workflows/postcommit_asan.yml (renamed from .github/workflows/postcommit.yml) | 11 | ||||
-rw-r--r-- | .github/workflows/postcommit_relwithdebinfo.yml | 23 | ||||
-rw-r--r-- | .mapping.json | 3 |
3 files changed, 29 insertions, 8 deletions
diff --git a/.github/workflows/postcommit.yml b/.github/workflows/postcommit_asan.yml index 144f4e3b65..3fdffccd82 100644 --- a/.github/workflows/postcommit.yml +++ b/.github/workflows/postcommit_asan.yml @@ -1,4 +1,5 @@ -name: Postcommit check + +name: Postcommit_asan on: push: branches: @@ -10,14 +11,10 @@ on: - '*' jobs: build_and_test: - strategy: - fail-fast: false - matrix: - build_preset: ["relwithdebinfo", "release-asan"] - name: Build and test ${{ matrix.build_preset }} + name: Build and test release-asan uses: ./.github/workflows/build_and_test_ya_provisioned.yml with: - build_preset: ${{ matrix.build_preset }} + build_preset: "release-asan" build_target: "ydb/" test_size: "small,medium" test_type: "unittest,py3test,py2test,pytest" diff --git a/.github/workflows/postcommit_relwithdebinfo.yml b/.github/workflows/postcommit_relwithdebinfo.yml new file mode 100644 index 0000000000..2631552d0f --- /dev/null +++ b/.github/workflows/postcommit_relwithdebinfo.yml @@ -0,0 +1,23 @@ +name: Postcommit_relwithdebinfo +on: + push: + branches: + - 'main' + - 'stable-*' + paths-ignore: + - 'ydb/docs/**' + - '.github/**' + - '*' +jobs: + build_and_test: + name: Build and test relwithdebinfo + uses: ./.github/workflows/build_and_test_ya_provisioned.yml + with: + build_preset: "relwithdebinfo" + build_target: "ydb/" + test_size: "small,medium" + test_type: "unittest,py3test,py2test,pytest" + test_threads: 52 + runner_label: auto-provisioned + put_build_results_to_cache: true + secrets: inherit diff --git a/.mapping.json b/.mapping.json index d7267ee15c..babdeb70d5 100644 --- a/.mapping.json +++ b/.mapping.json @@ -43,7 +43,8 @@ ".github/workflows/docs_preview.yaml":"ydb/github_toplevel/.github/workflows/docs_preview.yaml", ".github/workflows/docs_release.yaml":"ydb/github_toplevel/.github/workflows/docs_release.yaml", ".github/workflows/nightly_run.yaml":"ydb/github_toplevel/.github/workflows/nightly_run.yaml", - ".github/workflows/postcommit.yml":"ydb/github_toplevel/.github/workflows/postcommit.yml", + ".github/workflows/postcommit_asan.yml":"ydb/github_toplevel/.github/workflows/postcommit_asan.yml", + ".github/workflows/postcommit_relwithdebinfo.yml":"ydb/github_toplevel/.github/workflows/postcommit_relwithdebinfo.yml", ".github/workflows/pr_check.yml":"ydb/github_toplevel/.github/workflows/pr_check.yml", ".github/workflows/prewarm-ccache.yml":"ydb/github_toplevel/.github/workflows/prewarm-ccache.yml", ".github/workflows/prewarm-debug.yaml":"ydb/github_toplevel/.github/workflows/prewarm-debug.yaml", |