From f4f8efd67916f9d65e6709906315d20045e91f2c Mon Sep 17 00:00:00 2001 From: Sebastian Romero Date: Thu, 13 Mar 2025 17:06:09 +0100 Subject: [PATCH] Use new version of libclang --- .github/workflows/render-docs.yml | 8 ++++---- action.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/render-docs.yml b/.github/workflows/render-docs.yml index 1be2a9e..de2c23c 100644 --- a/.github/workflows/render-docs.yml +++ b/.github/workflows/render-docs.yml @@ -45,7 +45,7 @@ on: jobs: render-docs: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: write steps: @@ -64,13 +64,13 @@ jobs: wget -q -O - https://apt.llvm.org/llvm-snapshot.gpg.key | gpg --dearmor -o /usr/share/keyrings/llvm-archive-keyring.gpg # Add the LLVM repository with the GPG keyring - echo "deb [signed-by=/usr/share/keyrings/llvm-archive-keyring.gpg] http://apt.llvm.org/focal/ llvm-toolchain-focal-9 main" | sudo tee /etc/apt/sources.list.d/llvm.list > /dev/null + echo "deb [signed-by=/usr/share/keyrings/llvm-archive-keyring.gpg] http://apt.llvm.org/jammy/ llvm-toolchain-jammy-15 main" | sudo tee /etc/apt/sources.list.d/llvm.list > /dev/null # Update the package lists sudo apt-get -qq update # Install libclang and other necessary packages - sudo apt-get -qq install -y libclang1-9 libclang-cpp9 > /dev/null + sudo apt-get install -y libclang1-15 libclang-cpp15 - name: Set up Node.js uses: actions/setup-node@v4 @@ -79,7 +79,7 @@ jobs: - name: Install render-docs shell: bash - run: npm install github:arduino/render-docs --no-save --silent + run: npm install github:arduino/render-docs --no-save - name: Cache Doxygen binaries id: cache-doxygen-binaries diff --git a/action.yml b/action.yml index b54aeb7..4d5b2a1 100644 --- a/action.yml +++ b/action.yml @@ -42,13 +42,13 @@ runs: wget -q -O - https://apt.llvm.org/llvm-snapshot.gpg.key | gpg --dearmor -o /usr/share/keyrings/llvm-archive-keyring.gpg # Add the LLVM repository with the GPG keyring - echo "deb [signed-by=/usr/share/keyrings/llvm-archive-keyring.gpg] http://apt.llvm.org/focal/ llvm-toolchain-focal-9 main" | sudo tee /etc/apt/sources.list.d/llvm.list > /dev/null + echo "deb [signed-by=/usr/share/keyrings/llvm-archive-keyring.gpg] http://apt.llvm.org/jammy/ llvm-toolchain-jammy-15 main" | sudo tee /etc/apt/sources.list.d/llvm.list > /dev/null # Update the package lists sudo apt-get -qq update # Install libclang and other necessary packages - sudo apt-get -qq install -y libclang1-9 libclang-cpp9 > /dev/null + sudo apt-get install -y libclang1-15 libclang-cpp15 - name: Set up Node.js uses: actions/setup-node@v4 @@ -57,7 +57,7 @@ runs: - name: Install render-docs shell: bash - run: npm install github:arduino/render-docs --no-save --silent + run: npm install github:arduino/render-docs --no-save - name: Cache Doxygen binaries id: cache-doxygen-binaries