[llvm] [GitHub] Add basic CI for libclang Python binding unit tests (PR #76784)

Craig Hesling via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 3 20:32:10 PST 2024


================
@@ -0,0 +1,41 @@
+name: Libclang Python Binding Tests
+
+permissions:
+  contents: read
+
+on:
+  workflow_dispatch:
+  push:
+    paths:
+      - 'clang/bindings/python/**'
+      - 'clang/tools/libclang/**'
+      - 'clang/CMakeList.txt'
+      - 'cmake/**'
----------------
linux4life798 wrote:

Agreed, probably not likely, but arguably any change to the build system could impact builds/runs. I figured the changes are so infrequent to `cmake/*` that erring on the side of caution would be fine.

Most importantly, I wanted to capture python related cmake configurations, like the following:
* https://github.com/llvm/llvm-project/blob/ddf0096a92e4c2852fd57321f02cbd78e596943c/clang/bindings/python/tests/CMakeLists.txt#L9C16-L9C34
* https://github.com/llvm/llvm-project/blob/ddf0096a92e4c2852fd57321f02cbd78e596943c/llvm/CMakeLists.txt#L880-L891

  *Seemed to have missed this cmake file.*
* https://github.com/llvm/llvm-project/blob/53edf12e526704cc251b6a6917319c7cb7a653a0/clang/CMakeLists.txt#L85-L86

Secondary importance was capturing cmake that would impact libclang.

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


More information about the llvm-commits mailing list