summaryrefslogtreecommitdiff
path: root/.github/workflows/lld-tests.yml
blob: e806c77df28724ca2fca134689c9da5031ce407c (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
36
37
38
39
40
name: LLD Tests

permissions:
  contents: read

on:
  workflow_dispatch:
  push:
    ignore-forks: true
    branches:
      - 'release/**'
    paths:
      - 'lld/**'
      - '.github/workflows/lld-tests.yml'
      - '.github/workflows/llvm-project-tests.yml'
      - '!llvm/**'
  pull_request:
    ignore-forks: true
    branches:
      - 'release/**'
    paths:
      - 'lld/**'
      - '.github/workflows/lld-tests.yml'
      - '.github/workflows/llvm-project-tests.yml'
      - '!llvm/**'

concurrency:
  # Skip intermediate builds: always.
  # Cancel intermediate builds: only if it is a pull request build.
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}

jobs:
  check_lld:
    if: github.repository_owner == 'llvm'
    name: Test lld
    uses: ./.github/workflows/llvm-project-tests.yml
    with:
      build_target: check-lld
      projects: lld