aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/nightly_run.yaml
blob: 819007be6658e7f31c6d11c1e37c585a84800f55 (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
name: Nightly-run
on:
  schedule:
    - cron: "0 1 * * *"  # At 01:00 every day
  workflow_dispatch:
    inputs:
      test_label_regexp:
        required: false
        type: string

jobs:
  cmake_x86_64:
    name: Build/test x86_64
    strategy:
      matrix: ${{ fromJSON(vars.NIGHTLY_CMAKE_X64_MATRIX) }}
      fail-fast: false

    uses: ./.github/workflows/build_and_test_provisioned.yml
    with:
      runner_label: auto-provisioned
      sanitizer: ${{matrix.sanitizer}}
      test_label_regexp: ${{inputs.test_label_regexp}}
    secrets: inherit

  cmake_arm64:
    name: Build/test ARM64
    strategy:
      matrix: ${{ fromJSON(vars.NIGHTLY_CMAKE_ARM64_MATRIX) }}
      fail-fast: false
    uses: ./.github/workflows/build_and_test_provisioned.yml
    with:
      runner_label: ARM64
      sanitizer: ${{matrix.sanitizer}}
      extra_compile_flags: "-DMKQL_DISABLE_CODEGEN"
      test_label_regexp: ${{inputs.test_label_regexp}}
    secrets: inherit

  ya_x86_64:
    name: Build/test x86_64 using YA
    uses: ./.github/workflows/build_and_test_ya_provisioned.yml
    secrets: inherit
    strategy:
      matrix: ${{ fromJSON(vars.NIGHTLY_YA_X64_MATRIX) }}
      fail-fast: false
    with:
      runner_label: auto-provisioned
      build_preset: ${{ matrix.build_preset }}
      build_target: ydb/
      run_build: true
      run_tests: true