123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- name: Ya-Build-and-Test-Provisioned
- on:
- workflow_dispatch:
- inputs:
- build_target:
- type: string
- default: "ydb/"
- description: "limit build and test to specific target"
- build_preset:
- type: choice
- default: "relwithdebinfo"
- description: "Build preset"
- options:
- - relwithdebinfo
- - release-asan
- - release-tsan
- test_size:
- type: choice
- default: "small,medium,large"
- description: "test size to run"
- options:
- - small
- - small,medium
- - small,medium,large
- test_type:
- type: choice
- default: "unittest,py3test,py2test,pytest"
- description: "type of tests to run"
- options:
- - unittest
- - py3test,py2test,pytest
- - unittest,py3test,py2test,pytest
- run_build:
- type: boolean
- default: true
- description: "run build"
- run_tests:
- type: boolean
- default: true
- description: "run tests"
- test_threads:
- type: string
- default: "28"
- description: "Test threads count"
- link_threads:
- type: string
- default: "8"
- description: "link threads count"
- runner_label:
- type: string
- default: "ya-make"
- description: "runner label"
- cache_tests:
- type: boolean
- default: false
- description: "Use cache for tests"
- workflow_call:
- inputs:
- build_target:
- type: string
- default: "ydb/"
- build_preset:
- type: string
- default: "relwithdebinfo"
- test_size:
- type: string
- default: "small,medium,large"
- test_type:
- type: string
- default: "unittest,py3test,py2test,pytest"
- run_build:
- type: boolean
- default: true
- run_tests:
- type: boolean
- default: true
- test_threads:
- type: string
- default: 28
- description: "Test threads count"
- link_threads:
- type: string
- default: 8
- description: "link threads count"
- runner_label:
- type: string
- default: "ya-make"
- cache_tests:
- type: boolean
- default: false
- description: "Use cache for tests"
- jobs:
- main:
- uses: ./.github/workflows/build_and_test_ya.yml
- with:
- runner_kind: provisioned
- runner_label: ${{ inputs.runner_label }}
- build_target: ${{ inputs.build_target }}
- build_preset: ${{ inputs.build_preset }}
- run_build: ${{ inputs.run_build }}
- run_tests: ${{ inputs.run_tests }}
- test_size: ${{ inputs.test_size }}
- test_type: ${{ inputs.test_type }}
- link_threads: ${{ inputs.link_threads }}
- test_threads: ${{ inputs.test_threads }}
- cache_tests: ${{ inputs.cache_tests }}
- secrets: inherit
|