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