From e7acb0e4696db7a11148b1efbcff44cfb9422f7e Mon Sep 17 00:00:00 2001 From: Olivia Appleton Date: Mon, 1 Jul 2024 00:44:31 -0500 Subject: [PATCH] Try building like sphinx-c-autodoc does --- .github/workflows/pages.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index c2d571bd..09e8dfa9 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -10,8 +10,22 @@ jobs: - uses: actions/checkout@v3 with: submodules: true + + - name: Cache LLVM and Clang + id: cache-llvm + uses: actions/cache@v4 + with: + path: llvm/lib/libclang.so* + key: llvm-17 + + - name: Install LLVM and Clang + uses: KyleMayes/install-llvm-action@v1 + with: + version: "17.0" + cached: ${{ steps.cache-llvm.outputs.cache-hit }} - - run: sudo apt-get install -y clang libclang-dev + - name: Symlink libclang.so + run: sudo ln -s ./llvm/lib/libclang.so /usr/lib/x86_64-linux-gnu/libclang-17.so - name: Use Python 3.12 uses: actions/setup-python@v5