Skip to content

Use new version of libclang #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/render-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ on:

jobs:
render-docs:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: write
steps:
Expand All @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down