Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6fdf630

Browse files
committed
ci: docs: build doxygen documentation in a matrix including latest version
Add a matrix to the docs workflow to build the documentation with latest Doxygen version too. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
1 parent a60f889 commit 6fdf630

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

‎.github/workflows/docs.yml‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ on: [push, pull_request]
88
permissions:
99
contents: read
1010

11-
env:
12-
DOXYGEN_VERSION: 1.9.6
13-
1411
jobs:
1512
build:
1613
name: Build
1714
runs-on: ubuntu-22.04
15+
strategy:
16+
matrix:
17+
doxygen-version: [1.9.6, 1.14.0]
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v4
@@ -23,6 +23,7 @@ jobs:
2323

2424
- name: Install dependencies
2525
run: |
26+
DOXYGEN_VERSION="${{ matrix.doxygen-version }}"
2627
wget --no-verbose "https://github.com/doxygen/doxygen/releases/download/Release_${DOXYGEN_VERSION//./_}/doxygen-${DOXYGEN_VERSION}.linux.bin.tar.gz"
2728
tar xf doxygen-${DOXYGEN_VERSION}.linux.bin.tar.gz
2829
echo "${PWD}/doxygen-${DOXYGEN_VERSION}/bin" >> $GITHUB_PATH
@@ -40,11 +41,11 @@ jobs:
4041
mv _build_sphinx/html/* deploy
4142
4243
- name: Setup pages
43-
if: github.event_name != 'pull_request'
44+
if: github.event_name != 'pull_request' && matrix.doxygen-version == '1.14.0'
4445
uses: actions/configure-pages@v4
4546

4647
- name: Upload pages artifact
47-
if: github.event_name != 'pull_request'
48+
if: github.event_name != 'pull_request' && matrix.doxygen-version == '1.14.0'
4849
uses: actions/upload-pages-artifact@v3
4950
with:
5051
path: doc/deploy
@@ -53,6 +54,7 @@ jobs:
5354
if: github.event_name == 'pull_request'
5455
uses: actions/upload-artifact@v4
5556
with:
57+
name: docs-doxygen-${{ matrix.doxygen-version }}
5658
path: doc/deploy
5759

5860
deploy:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /