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

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

    uses: ./.github/workflows/build_and_test_ondemand.yml
    with:
      sanitizer: ${{matrix.sanitizer}}
      test_label_regexp: ${{inputs.test_label_regexp}}
    secrets: inherit

  build_provisioned:
    name: Build/test ARM64
    strategy:
      matrix: ${{ fromJSON(vars.NIGHTLY_PROVISIONED_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