Lines Matching +full:- +full:- +full:graph
2 # SPDX-License-Identifier: Apache-2.0
8 - cron: '0 */3 * * *'
11 - v*
24 doc-build-html:
27 github.repository_owner == 'zephyrproject-rtos'
28 runs-on: ubuntu-24.04
29 timeout-minutes: 90
31 group: doc-build-html-${{ github.ref }}
32 cancel-in-progress: true
35 - name: install-pkgs
37 sudo apt-get update
38 sudo apt-get install -y wget python3-pip git ninja-build graphviz lcov
39 …wget --no-verbose "https://github.com/doxygen/doxygen/releases/download/Release_${DOXYGEN_VERSION/…
40 sudo tar xf doxygen-${DOXYGEN_VERSION}.linux.bin.tar.gz -C /opt
41 echo "/opt/doxygen-${DOXYGEN_VERSION}/bin" >> $GITHUB_PATH
44 - name: checkout
48 fetch-depth: 0
51 - name: Rebase
53 continue-on-error: true
57 working-directory: zephyr
59 git config --global user.email "actions@zephyrproject.org"
60 git config --global user.name "Github Actions"
61 rm -fr ".git/rebase-apply"
62 rm -fr ".git/rebase-merge"
64 git clean -f -d
65 git log --graph --oneline HEAD...${PR_HEAD}
67 - name: Setup Zephyr project
68 uses: zephyrproject-rtos/action-zephyr-setup@f7b70269a8eb01f70c8e710891e4c94972a2f6b4 # v1.0.6
70 app-path: zephyr
73 - name: install-pip
74 working-directory: zephyr
76 pip install -r doc/requirements.txt
79 - name: build-docs
81 working-directory: zephyr
90 DOC_TARGET="html-fast"
96 SPHINXOPTS="-j ${JOB_COUNT} -W --keep-going -T" \
97 SPHINXOPTS_EXTRA="-q -t publish" \
98 make -C doc ${DOC_TARGET}
101 …python3 -m coverxygen --xml-dir doc/_build/html/doxygen/xml/ --src-dir include/ --output doc-cove…
103 lcov --remove doc-coverage.info \*/deprecated > new.info
104 genhtml --no-function-coverage --no-branch-coverage new.info -o coverage-report
106 - name: compress-docs
107 working-directory: zephyr
109 …tar --use-compress-program="xz -T0" -cf html-output.tar.xz --exclude html/_sources --exclude html/…
110 … tar --use-compress-program="xz -T0" -cf api-output.tar.xz --directory=doc/_build html/doxygen/html
111 tar --use-compress-program="xz -T0" -cf api-coverage.tar.xz coverage-report
113 - name: upload-build
114 uses: actions/upload-artifact@v4
116 name: html-output
117 path: zephyr/html-output.tar.xz
119 - name: upload-api-coverage
120 uses: actions/upload-artifact@v4
122 name: api-coverage
123 path: zephyr/api-coverage.tar.xz
125 - name: process-pr
132 API_COVERAGE_URL="https://builds.zephyrproject.io/${REPO_NAME}/pr/${PR_NUM}/api-coverage/"
139 - name: upload-pr-number
140 uses: actions/upload-artifact@v4
146 doc-build-pdf:
150 github.repository_owner == 'zephyrproject-rtos'
151 runs-on: ubuntu-22.04
153 timeout-minutes: 120
155 group: doc-build-pdf-${{ github.ref }}
156 cancel-in-progress: true
159 - name: Apply container owner mismatch workaround
161 git config --global --add safe.directory ${GITHUB_WORKSPACE}
163 - name: checkout
166 - name: install-pkgs
168 apt-get update
169 … apt-get install -y python3-pip python3-venv ninja-build doxygen graphviz librsvg2-bin imagemagick
171 - name: cache-pip
175 key: pip-${{ hashFiles('doc/requirements.txt') }}
177 - name: setup-venv
179 python3 -m venv .venv
183 - name: install-pip
185 pip install -r doc/requirements.txt
189 - name: west setup
191 west init -l .
193 - name: build-docs
195 continue-on-error: true
204 SPHINXOPTS="-q -j ${JOB_COUNT}" \
205 LATEXMKOPTS="-quiet -halt-on-error" \
206 make -C doc pdf
208 - name: upload-build
210 uses: actions/upload-artifact@v4
212 name: pdf-output
213 if-no-files-found: ignore
218 doc-build-status-check:
222 - doc-build-pdf
223 - doc-build-html
224 uses: ./.github/workflows/ready-to-merge.yml