Skip to content

Commit 154cc24

Browse files
authored
Merge branch 'main' into add_xilinx_axi_ethernet_lite
2 parents 634b7e0 + 36bc2f3 commit 154cc24

File tree

8,124 files changed

+212940
-79454
lines changed

Some content is hidden

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

8,124 files changed

+212940
-79454
lines changed

.github/workflows/assigner.yml

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Pull Request Assigner
1+
name: Pull Request/Issue Assigner
22

33
on:
44
pull_request_target:
@@ -20,27 +20,38 @@ permissions:
2020

2121
jobs:
2222
assignment:
23-
name: Pull Request Assignment
23+
name: Pull Request/Issue Assignment
2424
if: github.event.pull_request.draft == false
2525
runs-on: ubuntu-24.04
2626
permissions:
27-
pull-requests: write # to add assignees to pull requests
2827
issues: write # to add assignees to issues
2928

3029
steps:
3130
- name: Check out source code
32-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
32+
with:
33+
fetch-depth: 0
34+
persist-credentials: false
3335

3436
- name: Set up Python
35-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
37+
uses: zephyrproject-rtos/action-python-env@ace91a63fd503cd618ff1eb83fbcf302dabd7d44 # main
3638
with:
3739
python-version: 3.12
38-
cache: pip
39-
cache-dependency-path: scripts/requirements-actions.txt
4040

41-
- name: Install Python packages
41+
- name: Fetch west.yml from pull request
42+
if: >
43+
github.event_name == 'pull_request_target'
44+
run: |
45+
git fetch origin pull/${{ github.event.pull_request.number }}/merge
46+
git show FETCH_HEAD:west.yml > pr_west.yml
47+
48+
- name: west setup
49+
if: >
50+
github.event_name == 'pull_request_target'
4251
run: |
43-
pip install -r scripts/requirements-actions.txt --require-hashes
52+
git config --global user.email "[email protected]"
53+
git config --global user.name "Your Name"
54+
west init -l . || true
4455
4556
- name: Run assignment script
4657
env:
@@ -51,14 +62,13 @@ jobs:
5162
FLAGS+=" -r ${{ github.event.repository.name }}"
5263
FLAGS+=" -M MAINTAINERS.yml"
5364
if [ "${{ github.event_name }}" = "pull_request_target" ]; then
54-
FLAGS+=" -P ${{ github.event.pull_request.number }}"
65+
FLAGS+=" -P ${{ github.event.pull_request.number }} --updated-manifest pr_west.yml"
5566
elif [ "${{ github.event_name }}" = "issues" ]; then
56-
FLAGS+=" -I ${{ github.event.issue.number }}"
67+
FLAGS+=" -I ${{ github.event.issue.number }}"
5768
elif [ "${{ github.event_name }}" = "schedule" ]; then
58-
FLAGS+=" --modules"
69+
FLAGS+=" --modules"
5970
else
6071
echo "Unknown event: ${{ github.event_name }}"
6172
exit 1
6273
fi
63-
6474
python3 scripts/set_assignees.py $FLAGS

.github/workflows/backport_issue_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626

2727
steps:
2828
- name: Check out source code
29-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
29+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3030

3131
- name: Set up Python
32-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
32+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
3333
with:
3434
python-version: 3.12
3535
cache: pip

.github/workflows/bsim-tests.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
runs-on:
4343
group: zephyr-runner-v2-linux-x64-4xlarge
4444
container:
45-
image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.28.1.20250624
45+
image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.28.5.20250930
4646
options: '--entrypoint /bin/bash'
4747
env:
4848
ZEPHYR_TOOLCHAIN_VARIANT: zephyr
@@ -74,7 +74,7 @@ jobs:
7474
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
7575
7676
- name: Checkout
77-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
77+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
7878
with:
7979
fetch-depth: 0
8080

@@ -97,8 +97,12 @@ jobs:
9797
9898
echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
9999
100+
- name: Install Python packages
101+
run: |
102+
pip install -r scripts/requirements-actions.txt --require-hashes
103+
100104
- name: Check common triggering files
101-
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5
105+
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
102106
id: check-common-files
103107
with:
104108
files: |
@@ -117,7 +121,7 @@ jobs:
117121
modules/hal_nordic/**
118122
119123
- name: Check if Bluethooth files changed
120-
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5
124+
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
121125
id: check-bluetooth-files
122126
with:
123127
files: |
@@ -127,7 +131,7 @@ jobs:
127131
tests/bsim/bluetooth/
128132
129133
- name: Check if Networking files changed
130-
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5
134+
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
131135
id: check-networking-files
132136
with:
133137
files: |
@@ -140,7 +144,7 @@ jobs:
140144
include/zephyr/net/ieee802154*
141145
142146
- name: Check if UART files changed
143-
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5
147+
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
144148
id: check-uart-files
145149
with:
146150
files: |

.github/workflows/bug_snapshot.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ name: Bug Snapshot
88

99
on:
1010
workflow_dispatch:
11-
branches: [main]
1211
schedule:
1312
# Run daily at 00:05
1413
- cron: '5 00 * * *'
@@ -20,14 +19,14 @@ jobs:
2019
make_bugs_pickle:
2120
name: Make bugs pickle
2221
runs-on: ubuntu-24.04
23-
if: github.repository_owner == 'zephyrproject-rtos'
22+
if: github.repository_owner == 'zephyrproject-rtos' && github.ref == 'refs/heads/main'
2423

2524
steps:
2625
- name: Checkout
27-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2827

2928
- name: Set up Python
30-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
29+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
3130
with:
3231
python-version: 3.12
3332
cache: pip
@@ -52,7 +51,7 @@ jobs:
5251
echo "BUGS_PICKLE_PATH=${BUGS_PICKLE_PATH}" >> ${GITHUB_ENV}
5352
5453
- name: Configure AWS Credentials
55-
uses: aws-actions/configure-aws-credentials@b47578312673ae6fa5b5096b330d9fbac3d116df # v4.2.1
54+
uses: aws-actions/configure-aws-credentials@a03048d87541d1d9fcf2ecf528a4a65ba9bd7838 # v5.0.0
5655
with:
5756
aws-access-key-id: ${{ vars.AWS_BUILDS_ZEPHYR_BUG_SNAPSHOT_ACCESS_KEY_ID }}
5857
aws-secret-access-key: ${{ secrets.AWS_BUILDS_ZEPHYR_BUG_SNAPSHOT_SECRET_ACCESS_KEY }}

.github/workflows/clang.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on:
1919
group: zephyr-runner-v2-linux-x64-4xlarge
2020
container:
21-
image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.28.1.20250624
21+
image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.28.5.20250930
2222
options: '--entrypoint /bin/bash'
2323
strategy:
2424
fail-fast: false
@@ -53,7 +53,7 @@ jobs:
5353
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
5454
5555
- name: Checkout
56-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
56+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5757
with:
5858
fetch-depth: 0
5959
persist-credentials: false
@@ -86,6 +86,10 @@ jobs:
8686
gcc --version
8787
ls -la
8888
89+
- name: Install Python packages
90+
run: |
91+
pip install -r scripts/requirements-actions.txt --require-hashes
92+
8993
- name: Set up ccache
9094
run: |
9195
mkdir -p ${CCACHE_DIR}
@@ -136,18 +140,18 @@ jobs:
136140
if: (success() || failure())
137141
steps:
138142
- name: Checkout
139-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
143+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
140144
with:
141145
fetch-depth: 0
142146
persist-credentials: false
143147

144148
- name: Download Artifacts
145-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
149+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
146150
with:
147151
path: artifacts
148152

149153
- name: Set up Python
150-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
154+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
151155
with:
152156
python-version: 3.12
153157
cache: pip
@@ -159,7 +163,7 @@ jobs:
159163
160164
- name: Merge Test Results
161165
run: |
162-
junitparser merge artifacts/*/twister.xml junit.xml
166+
junitparser merge --glob 'artifacts/*/twister.xml' 'artifacts/*/*/twister.xml' junit.xml
163167
junit2html junit.xml junit-clang.html
164168
165169
- name: Upload Unit Test Results in HTML

.github/workflows/codecov.yaml

Lines changed: 44 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
name: Code Coverage with codecov
22

33
on:
4-
schedule:
5-
- cron: '25 06,18 * * *'
4+
push:
5+
branches:
6+
- main
7+
- v*-branch
8+
- collab-*
69

710
permissions:
811
contents: read
@@ -17,7 +20,7 @@ jobs:
1720
runs-on:
1821
group: zephyr-runner-v2-linux-x64-4xlarge
1922
container:
20-
image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.28.1.20250624
23+
image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.28.5.20250930
2124
options: '--entrypoint /bin/bash'
2225
strategy:
2326
fail-fast: false
@@ -64,12 +67,12 @@ jobs:
6467
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
6568
6669
- name: checkout
67-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
70+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
6871
with:
6972
fetch-depth: 0
7073

7174
- name: Set up Python
72-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
75+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
7376
with:
7477
python-version: 3.12
7578
cache: pip
@@ -112,6 +115,24 @@ jobs:
112115
-T tests --coverage-tool gcovr -xCONFIG_TEST_EXTRA_STACK_SIZE=4096 -e nano \
113116
--timeout-multiplier 2
114117
118+
- name: Build Doxygen Coverage
119+
if: matrix.platform == 'unit_testing'
120+
run: |
121+
pip install -r doc/requirements.txt --require-hashes
122+
sudo apt-get update
123+
sudo apt-get install -y graphviz # dot is needed but currently missing from the Docker image
124+
cmake -B doc/_build -S doc
125+
cmake --build doc/_build --target doxygen-coverage
126+
127+
- name: Upload Doxygen Coverage Results
128+
if: matrix.platform == 'unit_testing'
129+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
130+
with:
131+
name: doxygen-coverage-results
132+
path: |
133+
doc/_build/new.info
134+
doc/_build/coverage-report
135+
115136
- name: Print ccache stats
116137
if: always()
117138
run: |
@@ -140,12 +161,12 @@ jobs:
140161

141162
steps:
142163
- name: checkout
143-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
164+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
144165
with:
145166
fetch-depth: 0
146167

147168
- name: Set up Python
148-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
169+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
149170
with:
150171
python-version: 3.12
151172
cache: pip
@@ -156,7 +177,7 @@ jobs:
156177
pip install -r scripts/requirements-actions.txt --require-hashes
157178
158179
- name: Download Artifacts
159-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
180+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
160181
with:
161182
path: coverage/reports
162183

@@ -230,12 +251,25 @@ jobs:
230251
coverage/reports/coverage-report-${{ steps.run_date.outputs.run_date_short }}.json
231252
coverage/reports/coverage-report-${{ steps.run_date.outputs.run_date_short }}.xlsx
232253
233-
- name: Upload coverage to Codecov
254+
- name: Upload test coverage to Codecov
234255
if: always()
235-
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
256+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
236257
with:
237258
env_vars: OS,PYTHON
238259
fail_ci_if_error: false
239260
verbose: true
240261
token: ${{ secrets.CODECOV_TOKEN }}
241262
files: coverage/reports/merged.xml
263+
flags: unittests-coverage
264+
265+
- name: Upload Doxygen coverage to Codecov
266+
if: always()
267+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
268+
with:
269+
env_vars: OS,PYTHON
270+
fail_ci_if_error: false
271+
verbose: true
272+
token: ${{ secrets.CODECOV_TOKEN }}
273+
files: coverage/reports/doxygen-coverage-results/new.info
274+
disable_search: true
275+
flags: doxygen-coverage

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
config: ./.github/codeql/codeql-js-config.yml
3737
steps:
3838
- name: Checkout
39-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
39+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4040

4141
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
42+
uses: github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
4343
with:
4444
languages: ${{ matrix.language }}
4545
build-mode: ${{ matrix.build-mode }}
@@ -53,6 +53,6 @@ jobs:
5353
exit 0
5454
5555
- name: Perform CodeQL Analysis
56-
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
56+
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
5757
with:
5858
category: "/language:${{matrix.language}}"

.github/workflows/coding_guidelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
name: Run coding guidelines checks on patch series (PR)
1212
steps:
1313
- name: Checkout the code
14-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
14+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1515
with:
1616
ref: ${{ github.event.pull_request.head.sha }}
1717
fetch-depth: 0
1818

1919
- name: Set up Python
20-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
20+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
2121
with:
2222
python-version: 3.12
2323
cache: pip

0 commit comments

Comments
 (0)