[clang] [llvm] [clang][python][test] Move python binding tests to lit framework (PR #142948)

Rainer Orth via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 12 01:18:30 PDT 2025


rorth wrote:

> > I wonder if there's a way to recover from my mess, like (in my local repo)
> 
> What's preventing you from doing exactly that?

Worry that it might make things even worse.  Fortunately, it worked just fine, so you can finally see what my current PR is about.

> > The weird thing is that build_target isn't even documented in [Workflow syntax for GitHub Actions](https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions)
> 
> The (original) workflow contains the following:
> 
> ```
>     uses: ./.github/workflows/llvm-project-tests.yml
>     with:
>       build_target: check-clang-python
>       projects: clang
>       # There is an issue running on "windows-2019".
>       # See https://github.com/llvm/llvm-project/issues/76601#issuecomment-1873049082.
>       os_list: '["ubuntu-24.04"]'
>       python_version: ${{ matrix.python-version }}
> ```
> 
> which is the definition of a single step in the bulidflow. That step executes the `/.github/workflows/llvm-project-tests.yml` action (an action we've defined ourselves and can be found under that path in the repo). Everything after the `with:` part are the inputs to that action, i.e. the parameters to that function if you will. You won't find `build_target` in any official Github documentation because it's an input to that specific action: if you need any details about its definition or usage, you can take a look at the `llvm-project-tests` action. Happy to answer any questions if anything else is unclear/you need help with any part

Ah, thanks.  Things are coming together now.  However, as I said I'll probably pursue this after my vacation.

https://github.com/llvm/llvm-project/pull/142948


More information about the llvm-commits mailing list