1name: libclc Tests
2
3on:
4  workflow_dispatch:
5  push:
6    ignore-forks: true
7    branches:
8      - 'release/**'
9    paths:
10      - 'libclc/**'
11      - '.github/workflows/libclc-tests.yml'
12      - '.github/workflows/llvm-project-tests.yml'
13      - '!clang/**'
14      - '!llvm/**'
15  pull_request:
16    ignore-forks: true
17    branches:
18      - 'release/**'
19    paths:
20      - 'libclc/**'
21      - '.github/workflows/libclc-tests.yml'
22      - '.github/workflows/llvm-project-tests.yml'
23      - '!clang/**'
24      - '!llvm/**'
25
26concurrency:
27  # Skip intermediate builds: always.
28  # Cancel intermediate builds: only if it is a pull request build.
29  group: ${{ github.workflow }}-${{ github.ref }}
30  cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
31
32jobs:
33  check_libclc:
34    if: github.repository_owner == 'llvm'
35    name: Test libclc
36    uses: ./.github/workflows/llvm-project-tests.yml
37    with:
38      build_target: ''
39      projects: clang;libclc
40