llvm-project
32 строки · 903.0 Байт
1# This workflow will test the llvm-project-tests workflow in PRs
2# targetting the main branch. Since this workflow doesn't normally
3# run on main PRs, we need some way to test it to ensure new updates
4# don't break it.
5
6name: LLVM Workflow Test
7
8permissions:
9contents: read
10
11on:
12pull_request:
13branches:
14- 'main'
15paths:
16- '.github/workflows/llvm-project-tests.yml'
17- '.github/workflows/llvm-project-workflow-tests.yml'
18
19concurrency:
20# Skip intermediate builds: always.
21# Cancel intermediate builds: only if it is a pull request build.
22group: ${{ github.workflow }}-${{ github.ref }}
23cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
24
25jobs:
26llvm-test:
27if: github.repository_owner == 'llvm'
28name: Build and Test
29uses: ./.github/workflows/llvm-project-tests.yml
30with:
31build_target: check-all
32projects: clang;lld;libclc;lldb
33