build_and_test_ya_provisioned.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. name: Ya-Build-and-Test-Provisioned
  2. on:
  3. workflow_dispatch:
  4. inputs:
  5. build_target:
  6. type: string
  7. default: "ydb/"
  8. description: "limit build and test to specific target"
  9. sanitizer:
  10. type: choice
  11. default: "none"
  12. description: "sanitizer type"
  13. options:
  14. - none
  15. - address
  16. - memory
  17. - thread
  18. - undefined
  19. - leak
  20. runner_label:
  21. type: string
  22. default: "ya-make"
  23. description: "runner label"
  24. run_build:
  25. type: boolean
  26. default: true
  27. description: "run build"
  28. run_tests:
  29. type: boolean
  30. default: true
  31. description: "run tests"
  32. testmo_source:
  33. type: string
  34. default: "ya-x86-64"
  35. description: "testmo source"
  36. workflow_call:
  37. inputs:
  38. build_target:
  39. type: string
  40. default: "ydb/"
  41. sanitizer:
  42. type: string
  43. default: "none"
  44. run_build:
  45. type: boolean
  46. default: true
  47. run_tests:
  48. type: boolean
  49. default: true
  50. runner_label:
  51. type: string
  52. default: "ya-make"
  53. testmo_source:
  54. type: string
  55. default: "ya-x86-64"
  56. jobs:
  57. main:
  58. uses: ./.github/workflows/build_and_test_ya.yml
  59. with:
  60. runner_kind: provisioned
  61. runner_label: ${{ inputs.runner_label }}
  62. build_target: ${{ inputs.build_target }}
  63. sanitizer: ${{ inputs.sanitizer }}
  64. run_build: ${{ inputs.run_build }}
  65. run_tests: ${{ inputs.run_tests }}
  66. log_suffix: ${{ inputs.testmo_source }}
  67. secrets: inherit