[llvm] [workflows] Fix lldb-tests and libclc-tests (PR #80751)
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 5 14:30:51 PST 2024
https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/80751
This was broken by d25022bb689b9bf48a24c0ae6c29c1d3c2f32823, 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
d25022bb689b9bf48a24c0ae6c29c1d3c2f32823.
>From d65c318954709d5ca1e00b96df8f6705912cf678 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Mon, 5 Feb 2024 20:07:47 +0000
Subject: [PATCH] [workflows] Fix lldb-tests and libclc-tests
This was broken by d25022bb689b9bf48a24c0ae6c29c1d3c2f32823, 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
d25022bb689b9bf48a24c0ae6c29c1d3c2f32823.
---
.github/workflows/libclc-tests.yml | 1 -
.github/workflows/lldb-tests.yml | 1 -
.github/workflows/llvm-project-tests.yml | 3 ++-
3 files changed, 2 insertions(+), 3 deletions(-)
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
More information about the llvm-commits
mailing list