aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/build_and_test_ya_provisioned.yml
blob: 4e8b1509fd823017deb10205ca20660ef04b6487 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Ya-Build-and-Test-Provisioned

on:
  workflow_dispatch:
    inputs:
      build_target:
        type: string
        default: "ydb/"
        description: "limit build and test to specific target"
      sanitizer:
        type: choice
        default: "none"
        description: "sanitizer type"
        options:
          - none
          - address
          - memory
          - thread
          - undefined
          - leak
      runner_label:
        type: string
        default: "linux"
        description: "runner label"
      run_build:
        type: boolean
        default: true
        description: "run build"
      run_tests:
        type: boolean
        default: true
        description: "run 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 }}
      sanitizer: ${{ inputs.sanitizer }}
      run_build: ${{ inputs.run_build }}
      run_tests: ${{ inputs.run_tests }}
      log_suffix: ya-${{ inputs.sanitizer != 'none' && format('{0}-{1}', inputs.runner_label, inputs.sanitizer) || inputs.runner_label }}
    secrets: inherit