summaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/build_dummy.yml
blob: c29a3a7800ebc3680b77d00d11345133d55c9110 (plain)
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: build_dummy
on:
  pull_request:
    branches:
      - 'master'
      - 'release-[0-9]+.[0-9]+'
    # This needs to be an exact complement of `paths` in the build.yml workflow.
    # This is required to bypass required checks since a required job is always
    # needed to run.
    paths-ignore:
      - '**.cmake'
      - '**/CMakeLists.txt'
      - '**/CMakePresets.json'
      - 'cmake.*/**'
      - '.github/**'

permissions: {}

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
  # Test the minimum supported cmake.
  old-cmake:
    runs-on: ubuntu-latest
    timeout-minutes: 15
    steps:
      - run: echo "success"

  # Offline build (USE_EXISTING_SRC_DIR=ON with no network access)
  use-existing-src:
    runs-on: ubuntu-latest
    steps:
      - run: echo "success"