[llvm] [workflows] Add a new workflow for testing release branch CI (PR #81073)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 7 17:27:11 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
Author: Tom Stellard (tstellar)
<details>
<summary>Changes</summary>
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.
---
Full diff: https://github.com/llvm/llvm-project/pull/81073.diff
1 Files Affected:
- (added) .github/workflows/llvm-project-workflow-tests.yml (+31)
``````````diff
diff --git a/.github/workflows/llvm-project-workflow-tests.yml b/.github/workflows/llvm-project-workflow-tests.yml
new file mode 100644
index 00000000000000..e65a3e86ec32dc
--- /dev/null
+++ b/.github/workflows/llvm-project-workflow-tests.yml
@@ -0,0 +1,31 @@
+# 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:
+ 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
``````````
</details>
https://github.com/llvm/llvm-project/pull/81073
More information about the llvm-commits
mailing list