Skip to content

Commit 76c12d9

Browse files
committed
Merge commit '3f11074f1' into task/openthread/OPENTHREAD-6321-update-openthread-stack
2 parents ad73dc4 + 3f11074 commit 76c12d9

691 files changed

Lines changed: 24857 additions & 10566 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yml

Lines changed: 16 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -49,23 +49,19 @@ jobs:
4949
runs-on: ubuntu-24.04
5050
steps:
5151
- name: Harden Runner
52-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
52+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
5353
with:
5454
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
5555

5656
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5757
with:
5858
submodules: recursive
59-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
60-
with:
61-
python-version: '3.12'
62-
cache: pip
6359
- name: Bootstrap
6460
run: |
6561
sudo apt-get update
6662
sudo apt-get --no-install-recommends install -y shellcheck iwyu
6763
sudo bash script/install-llvm.sh
68-
python3 -m pip install yapf==0.31.0
64+
python3 -m pip install yapf==0.43.0
6965
sudo snap install shfmt
7066
npm install prettier@2.0.4
7167
- name: Check
@@ -77,13 +73,13 @@ jobs:
7773
runs-on: ubuntu-22.04
7874
steps:
7975
- name: Harden Runner
80-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
76+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
8177
with:
8278
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
8379

8480
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8581
- name: Run linkspector
86-
uses: umbrelladocs/action-linkspector@874d01cae9fd488e3077b08952093235bd626977 # v1.3.7
82+
uses: umbrelladocs/action-linkspector@652f85bc57bb1e7d4327260decc10aa68f7694c3 # v1.4.0
8783
with:
8884
github_token: ${{ secrets.GITHUB_TOKEN }}
8985
reporter: github-pr-review
@@ -93,7 +89,7 @@ jobs:
9389
runs-on: ubuntu-24.04
9490
steps:
9591
- name: Harden Runner
96-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
92+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
9793
with:
9894
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
9995
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -112,7 +108,7 @@ jobs:
112108
runs-on: ubuntu-24.04
113109
steps:
114110
- name: Harden Runner
115-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
111+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
116112
with:
117113
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
118114

@@ -152,7 +148,7 @@ jobs:
152148
CXX: ${{ matrix.compiler_cpp }}
153149
steps:
154150
- name: Harden Runner
155-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
151+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
156152
with:
157153
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
158154

@@ -171,7 +167,7 @@ jobs:
171167
runs-on: ubuntu-24.04
172168
steps:
173169
- name: Harden Runner
174-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
170+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
175171
with:
176172
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
177173

@@ -190,7 +186,7 @@ jobs:
190186
runs-on: ubuntu-24.04
191187
steps:
192188
- name: Harden Runner
193-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
189+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
194190
with:
195191
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
196192

@@ -244,7 +240,7 @@ jobs:
244240
gcc_extract_dir: arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi
245241
steps:
246242
- name: Harden Runner
247-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
243+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
248244
with:
249245
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
250246

@@ -277,7 +273,7 @@ jobs:
277273
CXX: g++-${{ matrix.gcc_ver }}
278274
steps:
279275
- name: Harden Runner
280-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
276+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
281277
with:
282278
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
283279

@@ -310,7 +306,7 @@ jobs:
310306
CXX: clang++-${{ matrix.clang_ver }}
311307
steps:
312308
- name: Harden Runner
313-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
309+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
314310
with:
315311
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
316312

@@ -333,7 +329,7 @@ jobs:
333329
runs-on: ubuntu-24.04
334330
steps:
335331
- name: Harden Runner
336-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
332+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
337333
with:
338334
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
339335

@@ -343,14 +339,9 @@ jobs:
343339
- name: Bootstrap
344340
run: |
345341
sudo apt-get update
346-
sudo apt-get --no-install-recommends install -y ninja-build
347-
cd /tmp
348-
wget -O gn.zip https://chrome-infra-packages.appspot.com/dl/gn/gn/linux-amd64/+/latest
349-
unzip -o gn.zip
350-
chmod a+x gn && mkdir -p bin && mv -f gn bin/
342+
sudo apt-get --no-install-recommends install -y ninja-build gn
351343
- name: Build
352344
run: |
353-
export PATH=/tmp/bin:$PATH
354345
script/check-gn-build
355346
356347
macos:
@@ -369,7 +360,7 @@ jobs:
369360
CXX: ${{ matrix.CXX }}
370361
steps:
371362
- name: Harden Runner
372-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
363+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
373364
with:
374365
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
375366

@@ -393,7 +384,7 @@ jobs:
393384
image: openthread/environment
394385
steps:
395386
- name: Harden Runner
396-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
387+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
397388
with:
398389
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
399390

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454

5555
steps:
5656
- name: Harden Runner
57-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
57+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
5858
with:
5959
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
6060

@@ -67,7 +67,7 @@ jobs:
6767
sudo apt-get --no-install-recommends install -y ninja-build libreadline-dev libncurses-dev
6868
6969
- name: Initialize CodeQL
70-
uses: github/codeql-action/init@64d10c13136e1c5bce3e5fbde8d4906eeaafc885 # v3.30.6
70+
uses: github/codeql-action/init@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10
7171
with:
7272
languages: ${{ matrix.language }}
7373
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -81,6 +81,6 @@ jobs:
8181
./script/test build
8282
8383
- name: Perform CodeQL Analysis
84-
uses: github/codeql-action/analyze@64d10c13136e1c5bce3e5fbde8d4906eeaafc885 # v3.30.6
84+
uses: github/codeql-action/analyze@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10
8585
with:
8686
category: "/language:${{matrix.language}}"

.github/workflows/docker.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161

6262
steps:
6363
- name: Harden Runner
64-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
64+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
6565
with:
6666
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
6767

@@ -76,7 +76,7 @@ jobs:
7676
7777
- name: Docker meta
7878
id: meta
79-
uses: docker/metadata-action@318604b99e75e41977312d83839a89be02ca4893 # v5.9.0
79+
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
8080
with:
8181
images: |
8282
${{ env.DOCKERHUB_REPO }}
@@ -111,7 +111,7 @@ jobs:
111111
112112
- name: Upload digest
113113
if: success() && github.repository == 'openthread/openthread' && github.event_name != 'pull_request'
114-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
114+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
115115
with:
116116
name: digests-${{ env.PLATFORM_PAIR }}
117117
path: ${{ runner.temp }}/digests/*
@@ -125,7 +125,7 @@ jobs:
125125
- build
126126
steps:
127127
- name: Harden Runner
128-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
128+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
129129
with:
130130
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
131131

@@ -147,7 +147,7 @@ jobs:
147147

148148
- name: Docker meta
149149
id: meta
150-
uses: docker/metadata-action@318604b99e75e41977312d83839a89be02ca4893 # v5.9.0
150+
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
151151
with:
152152
images: |
153153
${{ env.DOCKERHUB_REPO }}

.github/workflows/fuzz.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353

5454
steps:
5555
- name: Harden Runner
56-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
56+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
5757
with:
5858
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
5959

@@ -75,15 +75,15 @@ jobs:
7575
output-sarif: true
7676

7777
- name: Upload Crash
78-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
78+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
7979
if: failure() && steps.build.outcome == 'success'
8080
with:
8181
name: ${{ matrix.sanitizer }}-artifacts
8282
path: ./out/artifacts
8383

8484
- name: Upload Sarif
8585
if: always() && steps.build.outcome == 'success'
86-
uses: github/codeql-action/upload-sarif@64d10c13136e1c5bce3e5fbde8d4906eeaafc885 # v3.30.6
86+
uses: github/codeql-action/upload-sarif@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10
8787
with:
8888
sarif_file: cifuzz-sarif/results.sarif
8989
checkout_path: cifuzz-sarif

.github/workflows/makefile-check.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
runs-on: ubuntu-24.04
4949
steps:
5050
- name: Harden Runner
51-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
51+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
5252
with:
5353
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
5454

@@ -58,3 +58,16 @@ jobs:
5858
- name: Check
5959
run: |
6060
script/check-core-makefiles
61+
62+
header-guard-check:
63+
runs-on: ubuntu-24.04
64+
steps:
65+
- name: Harden Runner
66+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
67+
with:
68+
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
69+
70+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
71+
- name: Check
72+
run: |
73+
script/check-header-guards

.github/workflows/nexus.yml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
#
2+
# Copyright (c) 2026, The OpenThread Authors.
3+
# All rights reserved.
4+
#
5+
# Redistribution and use in source and binary forms, with or without
6+
# modification, are permitted provided that the following conditions are met:
7+
# 1. Redistributions of source code must retain the above copyright
8+
# notice, this list of conditions and the following disclaimer.
9+
# 2. Redistributions in binary form must reproduce the above copyright
10+
# notice, this list of conditions and the following disclaimer in the
11+
# documentation and/or other materials provided with the distribution.
12+
# 3. Neither the name of the copyright holder nor the
13+
# names of its contributors may be used to endorse or promote products
14+
# derived from this software without specific prior written permission.
15+
#
16+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17+
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18+
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19+
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
20+
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21+
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22+
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23+
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24+
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25+
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26+
# POSSIBILITY OF SUCH DAMAGE.
27+
#
28+
29+
name: Nexus
30+
31+
on:
32+
push:
33+
branches-ignore:
34+
- 'dependabot/**'
35+
pull_request:
36+
branches:
37+
- 'main'
38+
39+
concurrency:
40+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'openthread/openthread' && github.run_id) || github.ref }}
41+
cancel-in-progress: true
42+
43+
permissions:
44+
contents: read
45+
46+
jobs:
47+
48+
nexus-tests:
49+
runs-on: ubuntu-24.04
50+
steps:
51+
- name: Harden Runner
52+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
53+
with:
54+
egress-policy: audit
55+
56+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
57+
with:
58+
submodules: recursive
59+
60+
- name: Bootstrap
61+
run: |
62+
sudo apt-get update
63+
sudo DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends install -y ninja-build tshark
64+
python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
65+
66+
- name: Build Nexus
67+
run: |
68+
mkdir -p build/nexus
69+
top_builddir=build/nexus ./tests/nexus/build.sh
70+
71+
- name: Run Nexus Tests
72+
run: |
73+
top_builddir=build/nexus ./tests/nexus/run_nexus_tests.sh

0 commit comments

Comments
 (0)