diff options
author | Tom Stellard <tstellar@redhat.com> | 2024-02-09 15:01:04 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-09 15:01:04 -0800 |
commit | 0267f9800ea23921120faa4b1d46ac5806e5eca1 (patch) | |
tree | f161ac737bd58b2403fe2a8194268bcbb6a9cd90 /.github | |
parent | 9397d23671f26ab8631e90f688ae2ea212f3c770 (diff) | |
download | llvm-0267f9800ea23921120faa4b1d46ac5806e5eca1.zip llvm-0267f9800ea23921120faa4b1d46ac5806e5eca1.tar.gz llvm-0267f9800ea23921120faa4b1d46ac5806e5eca1.tar.bz2 |
[workflows] Add a new workflow for testing release branch CI (#81073)
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.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/llvm-project-workflow-tests.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/llvm-project-workflow-tests.yml b/.github/workflows/llvm-project-workflow-tests.yml new file mode 100644 index 0000000..a2539b2 --- /dev/null +++ b/.github/workflows/llvm-project-workflow-tests.yml @@ -0,0 +1,32 @@ +# This workflow will test the llvm-project-tests workflow in PRs +# targetting the main branch. Since this workflow doesn't normally +# run on main PRs, we need some way to test it to ensure new updates +# don't break it. + +name: LLVM Workflow Test + +permissions: + contents: read + +on: + pull_request: + branches: + - 'main' + paths: + - '.github/workflows/llvm-project-tests.yml' + - '.github/workflows/llvm-project-workflow-tests.yml' + +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: + llvm-test: + if: github.repository_owner == 'llvm' + name: Build and Test + uses: ./.github/workflows/llvm-project-tests.yml + with: + build_target: check-all + projects: clang;lld;libclc;lldb |