Skip to content

Commit 73e6bb7

Browse files
authored
Merge pull request #3 from arduino/deps-install-fix
Use new version of libclang
2 parents ed6472d + f4f8efd commit 73e6bb7

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Diff for: .github/workflows/render-docs.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ on:
4545

4646
jobs:
4747
render-docs:
48-
runs-on: ubuntu-latest
48+
runs-on: ubuntu-24.04
4949
permissions:
5050
contents: write
5151
steps:
@@ -64,13 +64,13 @@ jobs:
6464
wget -q -O - https://apt.llvm.org/llvm-snapshot.gpg.key | gpg --dearmor -o /usr/share/keyrings/llvm-archive-keyring.gpg
6565
6666
# Add the LLVM repository with the GPG keyring
67-
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
67+
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
6868
6969
# Update the package lists
7070
sudo apt-get -qq update
7171
7272
# Install libclang and other necessary packages
73-
sudo apt-get -qq install -y libclang1-9 libclang-cpp9 > /dev/null
73+
sudo apt-get install -y libclang1-15 libclang-cpp15
7474
7575
- name: Set up Node.js
7676
uses: actions/setup-node@v4
@@ -79,7 +79,7 @@ jobs:
7979

8080
- name: Install render-docs
8181
shell: bash
82-
run: npm install github:arduino/render-docs --no-save --silent
82+
run: npm install github:arduino/render-docs --no-save
8383

8484
- name: Cache Doxygen binaries
8585
id: cache-doxygen-binaries

Diff for: action.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ runs:
4242
wget -q -O - https://apt.llvm.org/llvm-snapshot.gpg.key | gpg --dearmor -o /usr/share/keyrings/llvm-archive-keyring.gpg
4343
4444
# Add the LLVM repository with the GPG keyring
45-
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
45+
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
4646
4747
# Update the package lists
4848
sudo apt-get -qq update
4949
5050
# Install libclang and other necessary packages
51-
sudo apt-get -qq install -y libclang1-9 libclang-cpp9 > /dev/null
51+
sudo apt-get install -y libclang1-15 libclang-cpp15
5252
5353
- name: Set up Node.js
5454
uses: actions/setup-node@v4
@@ -57,7 +57,7 @@ runs:
5757

5858
- name: Install render-docs
5959
shell: bash
60-
run: npm install github:arduino/render-docs --no-save --silent
60+
run: npm install github:arduino/render-docs --no-save
6161

6262
- name: Cache Doxygen binaries
6363
id: cache-doxygen-binaries

0 commit comments

Comments
 (0)