aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/build_and_test_ya_provisioned.yml
blob: 8d3dd727e856730e871322ddc85d204cd51248aa (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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: "ya-make"
        description: "runner label"
      run_build:
        type: boolean
        default: true
        description: "run build"
      run_tests:
        type: boolean
        default: true
        description: "run tests"
      testmo_source:
        type: string
        default: "ya-x86-64"
        description: "testmo source"
  workflow_call:
    inputs:
      build_target:
        type: string
        default: "ydb/"
      sanitizer:
        type: string
        default: "none"
      run_build:
        type: boolean
        default: true
      run_tests:
        type: boolean
        default: true
      runner_label:
        type: string
        default: "ya-make"
      testmo_source:
        type: string
        default: "ya-x86-64"

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: ${{ inputs.testmo_source }}
    secrets: inherit