Skip to content

Commit a03e548

Browse files
committed
[workflows] Add a new workflow for testing release branch CI
Since we commit all changes to the release branch CI to main first, we need someway to test that these changes to main don't break the CI.
1 parent 4520b47 commit a03e548

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+
6+
name: LLVM Workflow Test
7+
8+
permissions:
9+
contents: read
10+
11+
on:
12+
branches:
13+
- 'main'
14+
paths:
15+
- '.github/workflows/llvm-project-tests.yml'
16+
- '.github/workflows/llvm-project-workflow-tests.yml'
17+
18+
concurrency:
19+
# Skip intermediate builds: always.
20+
# Cancel intermediate builds: only if it is a pull request build.
21+
group: ${{ github.workflow }}-${{ github.ref }}
22+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
23+
24+
jobs:
25+
llvm-test:
26+
if: github.repository_owner == 'llvm'
27+
name: Build and Test
28+
uses: ./.github/workflows/llvm-project-tests.yml
29+
with:
30+
build_target: check-all
31+
projects: clang;lld;libclc;lldb

0 commit comments

Comments
 (0)