Lines Matching +full:apt +full:- +full:get

2 # SPDX-License-Identifier: Apache-2.0
8 - cron: '0 */3 * * *'
11 - v*
14 - 'doc/**'
15 - '**.rst'
16 - 'include/**'
17 - 'kernel/include/kernel_arch_interface.h'
18 - 'lib/libc/**'
19 - 'subsys/testsuite/ztest/include/**'
20 - 'tests/**'
21 - '**/Kconfig*'
22 - 'west.yml'
23 - '.github/workflows/doc-build.yml'
24 - 'scripts/dts/**'
25 - 'scripts/requirements-doc.txt'
30 # The latest CMake available directly with apt is 3.18, but we need >=3.20
36 doc-build-html:
38 runs-on: ubuntu-22.04
39 timeout-minutes: 45
41 group: doc-build-html-${{ github.ref }}
42 cancel-in-progress: true
45 - name: checkout
48 - name: install-pkgs
50 sudo apt-get update
51 sudo apt-get install -y ninja-build graphviz
52 …wget --no-verbose "https://github.com/doxygen/doxygen/releases/download/Release_${DOXYGEN_VERSION/…
53 tar xf doxygen-${DOXYGEN_VERSION}.linux.bin.tar.gz
54 echo "${PWD}/doxygen-${DOXYGEN_VERSION}/bin" >> $GITHUB_PATH
56 - name: cache-pip
60 key: pip-${{ hashFiles('scripts/requirements-doc.txt') }}
62 - name: install-pip
64 sudo pip3 install -U setuptools wheel pip
65 pip3 install -r scripts/requirements-doc.txt
69 - name: west setup
71 west init -l .
73 - name: build-docs
82 DOC_TARGET="html-fast"
87 DOC_TAG=${DOC_TAG} SPHINXOPTS="-q -W -t publish" make -C doc ${DOC_TARGET}
89 - name: compress-docs
91 tar cfJ html-output.tar.xz --directory=doc/_build html
93 - name: upload-build
94 uses: actions/upload-artifact@v3
96 name: html-output
97 path: html-output.tar.xz
99 - name: process-pr
109 - name: upload-pr-number
110 uses: actions/upload-artifact@v3
116 doc-build-pdf:
119 runs-on: ubuntu-22.04
121 timeout-minutes: 60
123 group: doc-build-pdf-${{ github.ref }}
124 cancel-in-progress: true
127 - name: checkout
130 - name: install-pkgs
132 apt-get update
133 apt-get install -y python3-pip python3-venv ninja-build doxygen graphviz librsvg2-bin
135 - name: cache-pip
139 key: pip-${{ hashFiles('scripts/requirements-doc.txt') }}
141 - name: setup-venv
143 python3 -m venv .venv
147 - name: install-pip
149 pip3 install -U setuptools wheel pip
150 pip3 install -r scripts/requirements-doc.txt
154 - name: west setup
156 west init -l .
158 - name: build-docs
166 … DOC_TAG=${DOC_TAG} SPHINXOPTS="-q -j auto" LATEXMKOPTS="-quiet -halt-on-error" make -C doc pdf
168 - name: upload-build
169 uses: actions/upload-artifact@v3
171 name: pdf-output