Skip to content

Commit 6857ab8

Browse files
committed
ci: Fix doc-build
* Now that sdk-nrf is removed from the manifest, use the hardcoded version similar to what Zephyr project uses. * Fix Ubuntu version as we are seeing python wheel related issues with latest, this version is same as Zephyr project. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent e44fda9 commit 6857ab8

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/docbuild.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@ on:
1313
tags:
1414
- v*
1515

16+
env:
17+
DOXYGEN_VERSION: 1.12.0
18+
1619
jobs:
1720
build:
18-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-22.04
1922
concurrency:
2023
group: ${{ github.workflow }}-${{ github.ref }}
2124
cancel-in-progress: true
@@ -37,7 +40,6 @@ jobs:
3740
sudo apt update
3841
sudo apt-get install -y ninja-build mscgen plantuml
3942
sudo snap install yq
40-
DOXYGEN_VERSION=$(yq ".doxygen.version" ./nrf/scripts/tools-versions-linux.yml)
4143
wget --no-verbose "https://github.com/doxygen/doxygen/releases/download/Release_${DOXYGEN_VERSION//./_}/doxygen-${DOXYGEN_VERSION}.linux.bin.tar.gz"
4244
tar xf doxygen-${DOXYGEN_VERSION}.linux.bin.tar.gz
4345
echo "${PWD}/doxygen-${DOXYGEN_VERSION}/bin" >> $GITHUB_PATH
@@ -46,7 +48,9 @@ jobs:
4648
working-directory: nrf70_bm_ws
4749
run: |
4850
sudo pip3 install -U setuptools wheel pip
49-
pip3 install -r nrf/doc/requirements.txt
51+
pip3 install -r zephyr/doc/requirements.txt
52+
# docs still use breathe (based on NCS)
53+
pip install breathe
5054
5155
- name: West zephyr-export
5256
working-directory: nrf70_bm_ws
@@ -109,7 +113,7 @@ jobs:
109113
path: nrf70_bm_ws/nrf70-bm/nrf70_bm_lib/docs/build/html
110114

111115
deploy:
112-
runs-on: ubuntu-latest
116+
runs-on: ubuntu-22.04
113117
needs: build
114118
if: github.event_name != 'pull_request'
115119
permissions:

0 commit comments

Comments
 (0)