-
Notifications
You must be signed in to change notification settings - Fork 12.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[workflows] Fix lldb-tests and libclc-tests #80751
Conversation
@llvm/pr-subscribers-github-workflow Author: Tom Stellard (tstellar) ChangesThis was broken by d25022b, which caused the workflow to pass an empty string to ninja as the target. The 'all' target is probably not the right target for these tests, but this is what the behavior was before Full diff: https://github.com/llvm/llvm-project/pull/80751.diff 3 Files Affected:
diff --git a/.github/workflows/libclc-tests.yml b/.github/workflows/libclc-tests.yml
index 29d050db2f12c..23192f776a985 100644
--- a/.github/workflows/libclc-tests.yml
+++ b/.github/workflows/libclc-tests.yml
@@ -36,5 +36,4 @@ jobs:
name: Test libclc
uses: ./.github/workflows/llvm-project-tests.yml
with:
- build_target: ''
projects: clang;libclc
diff --git a/.github/workflows/lldb-tests.yml b/.github/workflows/lldb-tests.yml
index ef5d7c7d581b7..6bb9721956258 100644
--- a/.github/workflows/lldb-tests.yml
+++ b/.github/workflows/lldb-tests.yml
@@ -36,5 +36,4 @@ jobs:
name: Build lldb
uses: ./.github/workflows/llvm-project-tests.yml
with:
- build_target: ''
projects: clang;lldb
diff --git a/.github/workflows/llvm-project-tests.yml b/.github/workflows/llvm-project-tests.yml
index 494263be7f0df..3bc7bd4957fa6 100644
--- a/.github/workflows/llvm-project-tests.yml
+++ b/.github/workflows/llvm-project-tests.yml
@@ -22,8 +22,9 @@ on:
workflow_call:
inputs:
build_target:
- required: true
+ required: false
type: string
+ default: "all"
projects:
required: true
|
Do you have a failure example? I'm struggling to understand why exactly this failed. I would think that passing a null string to ninja would just cause it to build all rather than failing. If we want to actually run the tests (which seems to be the intention here?) I think we need to run the |
Here is an example of the failure: https://github.com/llvm/llvm-project/actions/runs/7771992746/job/21193903687?pr=80584 For lldb, I'm just trying to build it, not run the tests. |
Thanks!
Ah, okay. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
This was broken by d25022b, which caused the workflow to pass an empty string to ninja as the target. The 'all' target is probably not the right target for these tests, but this is what the behavior was before
d25022b.