Lines Matching +full:apt +full:- +full:get
33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
49 runs-on: ubuntu-22.04
51 - name: Harden Runner
52 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
54 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
56 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
59 - name: Bootstrap
61 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
62 sudo apt-get --no-install-recommends install -y clang-format-14 clang-tidy-14 shellcheck
63 python3 -m pip install yapf==0.31.0
66 - name: Check
68 script/make-pretty check
70 markdown-lint-check:
71 runs-on: ubuntu-latest
73 - name: Harden Runner
74 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
76 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
78 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
79 …- uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 #…
81 use-verbose-mode: 'yes'
82 max-depth: 3
84 spell-check:
85 runs-on: ubuntu-22.04
87 - name: Harden Runner
88 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
90 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
92 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
95 - name: Bootstrap
97 python -m pip install --upgrade pip
99 - name: Check
101 script/code-spell check
103 cmake-version:
104 runs-on: ubuntu-20.04
106 - name: Harden Runner
107 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
109 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
111 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
114 - name: Bootstrap
116 …sudo apt-get --no-install-recommends install -y build-essential ninja-build libreadline-dev libncu…
117 sudo apt-get remove cmake
118 sudo apt-get purge --auto-remove cmake
119 wget http://www.cmake.org/files/v3.10/cmake-3.10.3.tar.gz
120 tar xf cmake-3.10.3.tar.gz
121 cd cmake-3.10.3
124 cmake --version | grep 3.10.3
125 - name: Build
130 name: package-${{ matrix.compiler }}
131 runs-on: ubuntu-20.04
133 fail-fast: false
136 - compiler: gcc
139 - compiler: clang
146 - name: Harden Runner
147 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
149 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
151 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
154 - name: Bootstrap
156 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
157 sudo apt-get --no-install-recommends install -y ninja-build libreadline-dev libncurses-dev
158 - name: Package
162 scan-build:
163 runs-on: ubuntu-22.04
165 - name: Harden Runner
166 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
168 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
170 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
173 - name: Bootstrap
175 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
176 sudo apt-get --no-install-recommends install -y clang-tools-14 ninja-build
177 - name: Run
179 script/check-scan-build
181 mbedtls3-build:
182 runs-on: ubuntu-20.04
184 - name: Harden Runner
185 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
187 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
189 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
192 - name: Bootstrap
194 sudo apt-get --no-install-recommends install -y ninja-build libreadline-dev libncurses-dev
195 rm -rf third_party/mbedtls/repo
196 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
201 - name: Build
205 arm-gcc:
206 name: arm-gcc-${{ matrix.gcc_ver }}
207 runs-on: ubuntu-20.04
209 fail-fast: false
212 - gcc_ver: 4
213 …oad_url: https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q3-update/+download/gcc-arm-none-eabi…
214 gcc_extract_dir: gcc-arm-none-eabi-4_9-2015q3
215 - gcc_ver: 5
216 …load_url: https://developer.arm.com/-/media/Files/downloads/gnu-rm/5_4-2016q3/gcc-arm-none-eabi-5_…
217 gcc_extract_dir: gcc-arm-none-eabi-5_4-2016q3
218 - gcc_ver: 6
219 …ownload_url: https://developer.arm.com/-/media/Files/downloads/gnu-rm/6-2017q2/gcc-arm-none-eabi-6…
220 gcc_extract_dir: gcc-arm-none-eabi-6-2017-q2-update
221 - gcc_ver: 7
222 …ownload_url: https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7…
223 gcc_extract_dir: gcc-arm-none-eabi-7-2018-q2-update
224 - gcc_ver: 9
225 …d_url: https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9…
226 gcc_extract_dir: gcc-arm-none-eabi-9-2019-q4-major
227 - gcc_ver: 10
228 …oad_url: https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-1…
229 gcc_extract_dir: gcc-arm-none-eabi-10.3-2021.10
230 - gcc_ver: 11
231 …_url: https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.…
232 gcc_extract_dir: arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-eabi
233 - gcc_ver: 12
234 …_url: https://developer.arm.com/-/media/Files/downloads/gnu/12.2.rel1/binrel/arm-gnu-toolchain-12.…
235 gcc_extract_dir: arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi
237 - name: Harden Runner
238 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
240 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
242 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
245 - name: Bootstrap
248 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
249 …sudo apt-get --no-install-recommends install -y build-essential lib32z1 ninja-build gcc-arm-linux-…
250 wget --tries 4 --no-check-certificate --quiet ${{ matrix.gcc_download_url }} -O gcc-arm
251 tar xf gcc-arm
252 sudo apt-get remove cmake
253 sudo apt-get purge --auto-remove cmake
254 wget http://www.cmake.org/files/v3.10/cmake-3.10.3.tar.gz
255 tar xf cmake-3.10.3.tar.gz
256 cd cmake-3.10.3
259 cmake --version | grep 3.10.3
260 - name: Build
265 script/check-arm-build
268 name: gcc-${{ matrix.gcc_ver }}
269 runs-on: ubuntu-22.04
271 fail-fast: false
275 CC: gcc-${{ matrix.gcc_ver }}
276 CXX: g++-${{ matrix.gcc_ver }}
278 - name: Harden Runner
279 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
281 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
283 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
286 - name: Bootstrap
288 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
291 sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
294 …sudo apt-get --no-install-recommends install -y gcc-${{ matrix.gcc_ver }} g++-${{ matrix.gcc_ver }…
295 - name: Build
297 script/check-simulation-build
298 script/check-posix-build
301 name: clang-${{ matrix.clang_ver }}
302 runs-on: ubuntu-20.04
304 fail-fast: false
308 CC: clang-${{ matrix.clang_ver }}
309 CXX: clang++-${{ matrix.clang_ver }}
311 - name: Harden Runner
312 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
314 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
316 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
319 - name: Bootstrap
321 sudo rm /etc/apt/sources.list.d/*
322 wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
323 echo 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal main
324 deb-src http://apt.llvm.org/focal/ llvm-toolchain-focal main
326 deb http://apt.llvm.org/focal/ llvm-toolchain-focal-13 main
327 …deb-src http://apt.llvm.org/focal/ llvm-toolchain-focal-13 main' | sudo tee -a /etc/apt/sources.li…
328 sudo apt-get update
329 …udo apt-get --no-install-recommends install -y clang-${{ matrix.clang_ver }} clang++-${{ matrix.cl…
330 - name: Build
332 script/check-simulation-build
333 script/check-posix-build
335 clang-m32:
336 name: clang-m32-${{ matrix.clang_ver }}
337 runs-on: ubuntu-20.04
339 fail-fast: false
343 CC: clang-${{ matrix.clang_ver }}
344 CXX: clang++-${{ matrix.clang_ver }}
345 CFLAGS: -m32 -Wconversion
346 CXXFLAGS: -m32 -Wconversion
347 LDFLAGS: -m32
349 - name: Harden Runner
350 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
352 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
354 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
357 - name: Bootstrap
359 sudo dpkg --add-architecture i386
360 wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
361 echo 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal main
362 deb-src http://apt.llvm.org/focal/ llvm-toolchain-focal main
364 deb http://apt.llvm.org/focal/ llvm-toolchain-focal-13 main
365 …deb-src http://apt.llvm.org/focal/ llvm-toolchain-focal-13 main' | sudo tee -a /etc/apt/sources.li…
366 sudo apt-get update
367 …sudo apt-get --no-install-recommends install -y clang-${{ matrix.clang_ver }} clang++-${{ matrix.c…
368 …sudo apt-get --no-install-recommends install -y g++-multilib libreadline-dev:i386 libncurses-dev:i…
369 - name: Build
371 script/check-simulation-build
372 script/check-posix-build
375 runs-on: ubuntu-20.04
377 - name: Harden Runner
378 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
380 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
382 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
385 - name: Bootstrap
387 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
388 sudo apt-get --no-install-recommends install -y ninja-build
390 wget -O gn.zip https://chrome-infra-packages.appspot.com/dl/gn/gn/linux-amd64/+/latest
391 unzip -o gn.zip
392 chmod a+x gn && mkdir -p bin && mv -f gn bin/
393 - name: Build
396 script/check-gn-build
399 name: macos-${{ matrix.CC }}
401 fail-fast: false
404 - CC: clang
406 - CC: gcc
408 runs-on: macos-12
413 - name: Harden Runner
414 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
416 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
418 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
421 - name: Bootstrap
424 wget --tries 4 https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-mac.zip
425 unzip ninja-mac.zip && mv ninja /usr/local/bin/.
426 - name: Build
428 script/check-posix-build
429 script/check-simulation-build
431 android-ndk:
432 name: android-ndk
433 runs-on: ubuntu-22.04
437 - name: Harden Runner
438 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
440 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
442 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
445 - name: Install unzip
446 run: apt update && apt install -y unzip
447 - name: Setup NDK
448 id: setup-ndk
449 uses: nttld/setup-ndk@v1
451 ndk-version: r25c
452 local-cache: true
454 - name: Build
456 NDK: ${{ steps.setup-ndk.outputs.ndk-path }}
458 rm -rf build/ && OT_CMAKE_NINJA_TARGET="ot-daemon ot-ctl" script/cmake-build android-ndk
459 rm -rf build/ && OT_CMAKE_NINJA_TARGET="ot-cli" script/cmake-build android-ndk