[all-commits] [llvm/llvm-project] 376bae: [GitHub] Add basic CI for libclang Python binding ...
Craig Hesling via All-commits
all-commits at lists.llvm.org
Fri Jan 5 22:22:21 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 376baeb2d535826eb2d8158c4147e37cda493f35
https://github.com/llvm/llvm-project/commit/376baeb2d535826eb2d8158c4147e37cda493f35
Author: Craig Hesling <craig at hesling.com>
Date: 2024-01-05 (Fri, 05 Jan 2024)
Changed paths:
A .github/workflows/libclang-python-tests.yml
Log Message:
-----------
[GitHub] Add basic CI for libclang Python binding unit tests (#76784)
This is important to aid development of Python type annotations in the
libclang binding.
See https://github.com/llvm/llvm-project/issues/76664 for more details.
* Run on all pull requests and direct pushes.
* This makes use of the existing llvm-project-tests.yml recipe, which
will preload ccache from previous runs.
* Building libclang currently takes about 9mins when ccache is warm and
about an 1hr 20mins if it is cold using the standard GitHub ubuntu
runner.
* In the future, this could be broken into the following discrete steps
for clarity:
1. Build libclang dependency.
ninja -C build libclang
2. Run Python unit tests.
ninja -C build check-clang-python
* Followup changes will bring testing on older python versions and
static type checking.
Issue https://github.com/llvm/llvm-project/issues/76601.
More information about the All-commits
mailing list