|
@@ -16,6 +16,7 @@ on:
|
|
- relwithdebinfo
|
|
- relwithdebinfo
|
|
- release-asan
|
|
- release-asan
|
|
- release-tsan
|
|
- release-tsan
|
|
|
|
+ - release-msan
|
|
test_size:
|
|
test_size:
|
|
type: choice
|
|
type: choice
|
|
default: "small,medium,large"
|
|
default: "small,medium,large"
|
|
@@ -52,10 +53,6 @@ on:
|
|
type: string
|
|
type: string
|
|
default: "auto-provisioned"
|
|
default: "auto-provisioned"
|
|
description: "runner label"
|
|
description: "runner label"
|
|
- cache_tests:
|
|
|
|
- type: boolean
|
|
|
|
- default: false
|
|
|
|
- description: "Use cache for tests"
|
|
|
|
workflow_call:
|
|
workflow_call:
|
|
inputs:
|
|
inputs:
|
|
build_target:
|
|
build_target:
|
|
@@ -87,10 +84,6 @@ on:
|
|
runner_label:
|
|
runner_label:
|
|
type: string
|
|
type: string
|
|
default: "auto-provisioned"
|
|
default: "auto-provisioned"
|
|
- cache_tests:
|
|
|
|
- type: boolean
|
|
|
|
- default: false
|
|
|
|
- description: "Use cache for tests"
|
|
|
|
put_build_results_to_cache:
|
|
put_build_results_to_cache:
|
|
type: boolean
|
|
type: boolean
|
|
default: true
|
|
default: true
|
|
@@ -98,7 +91,10 @@ jobs:
|
|
main:
|
|
main:
|
|
uses: ./.github/workflows/build_and_test_ya.yml
|
|
uses: ./.github/workflows/build_and_test_ya.yml
|
|
with:
|
|
with:
|
|
|
|
+ # FIXME: always use auto-provisioned here?
|
|
runner_label: ${{ inputs.runner_label }}
|
|
runner_label: ${{ inputs.runner_label }}
|
|
|
|
+ # naive check for -asan, -tsan, -msan
|
|
|
|
+ runner_additional_label: ${{ contains(inputs.build_preset, '-') && format('build-preset-{0}', inputs.build_preset) || '' }}
|
|
build_target: ${{ inputs.build_target }}
|
|
build_target: ${{ inputs.build_target }}
|
|
build_preset: ${{ inputs.build_preset }}
|
|
build_preset: ${{ inputs.build_preset }}
|
|
run_build: ${{ inputs.run_build }}
|
|
run_build: ${{ inputs.run_build }}
|
|
@@ -107,6 +103,5 @@ jobs:
|
|
test_type: ${{ inputs.test_type }}
|
|
test_type: ${{ inputs.test_type }}
|
|
link_threads: ${{ inputs.link_threads }}
|
|
link_threads: ${{ inputs.link_threads }}
|
|
test_threads: ${{ inputs.test_threads }}
|
|
test_threads: ${{ inputs.test_threads }}
|
|
- cache_tests: ${{ inputs.cache_tests }}
|
|
|
|
- put_build_results_to_cache: ${{ inputs.put_build_results_to_cache }}
|
|
|
|
|
|
+ put_build_results_to_cache: ${{ inputs.put_build_results_to_cache || true }}
|
|
secrets: inherit
|
|
secrets: inherit
|