-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'zephyrproject-rtos:main' into separate_posix_message_pa…
…ssing_into_standalone_test
- Loading branch information
Showing
5,882 changed files
with
156,456 additions
and
48,118 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,3 +111,4 @@ WhitespaceSensitiveMacros: | |
- LISTIFY | ||
- STRINGIFY | ||
- Z_STRINGIFY | ||
- DT_FOREACH_PROP_ELEM_SEP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,12 +12,13 @@ on: | |
- "dts/*/nordic/**" | ||
- "tests/bluetooth/common/testlib/**" | ||
- "samples/bluetooth/**" | ||
- "boards/posix/**" | ||
- "soc/posix/**" | ||
- "boards/native/**" | ||
- "soc/native/**" | ||
- "arch/posix/**" | ||
- "include/zephyr/arch/posix/**" | ||
- "scripts/native_simulator/**" | ||
- "samples/net/sockets/echo_*/**" | ||
- "modules/hal_nordic/**" | ||
- "modules/mbedtls/**" | ||
- "modules/openthread/**" | ||
- "subsys/net/l2/openthread/**" | ||
|
@@ -77,6 +78,7 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "Zephyr Bot" | ||
rm -fr ".git/rebase-apply" | ||
rm -fr ".git/rebase-merge" | ||
git rebase origin/${BASE_REF} | ||
git clean -f -d | ||
git log --pretty=oneline | head -n 10 | ||
|
@@ -96,15 +98,16 @@ jobs: | |
.github/workflows/bsim-tests.yaml | ||
.github/workflows/bsim-tests-publish.yaml | ||
west.yml | ||
boards/posix/ | ||
soc/posix/ | ||
boards/native/ | ||
soc/native/ | ||
arch/posix/ | ||
include/zephyr/arch/posix/ | ||
scripts/native_simulator/ | ||
tests/bsim/* | ||
boards/nordic/nrf5*/*dt* | ||
dts/*/nordic/ | ||
modules/mbedtls/** | ||
modules/hal_nordic/** | ||
- name: Check if Bluethooth files changed | ||
uses: tj-actions/changed-files@v45 | ||
|
@@ -169,7 +172,7 @@ jobs: | |
- name: Merge Test Results | ||
run: | | ||
pip3 install junitparser junit2html | ||
pip install junitparser junit2html | ||
junitparser merge --glob "./bsim_*/*bsim_results.*.xml" "./twister-out/twister.xml" junit.xml | ||
junit2html junit.xml junit.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,6 +61,7 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "Zephyr Bot" | ||
rm -fr ".git/rebase-apply" | ||
rm -fr ".git/rebase-merge" | ||
git rebase origin/${BASE_REF} | ||
git clean -f -d | ||
git log --pretty=oneline | head -n 10 | ||
|
@@ -143,7 +144,7 @@ jobs: | |
path: artifacts | ||
- name: Merge Test Results | ||
run: | | ||
pip3 install junitparser junit2html | ||
pip install junitparser junit2html | ||
junitparser merge artifacts/*/twister.xml junit.xml | ||
junit2html junit.xml junit-clang.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,8 @@ jobs: | |
|
||
- name: Install python dependencies | ||
run: | | ||
pip3 install unidiff | ||
pip3 install wheel | ||
pip3 install sh | ||
pip install unidiff | ||
pip install sh | ||
- name: Install Packages | ||
run: | | ||
|
@@ -40,6 +39,8 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "Github Actions" | ||
git remote -v | ||
rm -fr ".git/rebase-apply" | ||
rm -fr ".git/rebase-merge" | ||
git rebase origin/${BASE_REF} | ||
git clean -f -d | ||
source zephyr-env.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,23 @@ jobs: | |
ref: ${{ github.event.pull_request.head.sha }} | ||
fetch-depth: 0 | ||
|
||
- name: Rebase onto the target branch | ||
env: | ||
BASE_REF: ${{ github.base_ref }} | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Your Name" | ||
git remote -v | ||
# Ensure there's no merge commits in the PR | ||
[[ "$(git rev-list --merges --count origin/${BASE_REF}..)" == "0" ]] || \ | ||
(echo "::error ::Merge commits not allowed, rebase instead";false) | ||
rm -fr ".git/rebase-apply" | ||
rm -fr ".git/rebase-merge" | ||
git rebase origin/${BASE_REF} | ||
git clean -f -d | ||
# debug | ||
git log --pretty=oneline | head -n 10 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
|
@@ -36,25 +53,11 @@ jobs: | |
|
||
- name: Install python dependencies | ||
run: | | ||
pip3 install setuptools | ||
pip3 install wheel | ||
pip3 install python-magic lxml junitparser gitlint pylint pykwalify yamllint clang-format unidiff sphinx-lint ruff | ||
pip3 install west | ||
pip install -r scripts/requirements-compliance.txt | ||
pip install west | ||
- name: west setup | ||
env: | ||
BASE_REF: ${{ github.base_ref }} | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Your Name" | ||
git remote -v | ||
# Ensure there's no merge commits in the PR | ||
[[ "$(git rev-list --merges --count origin/${BASE_REF}..)" == "0" ]] || \ | ||
(echo "::error ::Merge commits not allowed, rebase instead";false) | ||
git rebase origin/${BASE_REF} | ||
git clean -f -d | ||
# debug | ||
git log --pretty=oneline | head -n 10 | ||
west init -l . || true | ||
west config manifest.group-filter -- +ci,-optional | ||
west update -o=--depth=1 -n 2>&1 1> west.update.log || west update -o=--depth=1 -n 2>&1 1> west.update2.log | ||
|
@@ -79,7 +82,7 @@ jobs: | |
git log --pretty=oneline | head -n 10 | ||
# Increase rename limit to allow for large PRs | ||
git config diff.renameLimit 10000 | ||
./scripts/ci/check_compliance.py --annotate -e KconfigBasic \ | ||
./scripts/ci/check_compliance.py --annotate -e KconfigBasic -e ClangFormat \ | ||
-c origin/${BASE_REF}.. | ||
- name: upload-results | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,6 +94,8 @@ jobs: | |
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Github Actions" | ||
rm -fr ".git/rebase-apply" | ||
rm -fr ".git/rebase-merge" | ||
git rebase origin/${BASE_REF} | ||
git clean -f -d | ||
git log --graph --oneline HEAD...${PR_HEAD} | ||
|
@@ -106,11 +108,10 @@ jobs: | |
|
||
- name: install-pip | ||
run: | | ||
sudo pip3 install -U setuptools wheel pip | ||
pip3 install -r doc/requirements.txt | ||
pip3 install west==${WEST_VERSION} | ||
pip3 install cmake==${CMAKE_VERSION} | ||
pip3 install coverxygen | ||
pip install -r doc/requirements.txt | ||
pip install west==${WEST_VERSION} | ||
pip install cmake==${CMAKE_VERSION} | ||
pip install coverxygen | ||
- name: west setup | ||
run: | | ||
|
@@ -221,10 +222,9 @@ jobs: | |
- name: install-pip | ||
run: | | ||
pip3 install -U setuptools wheel pip | ||
pip3 install -r doc/requirements.txt | ||
pip3 install west==${WEST_VERSION} | ||
pip3 install cmake==${CMAKE_VERSION} | ||
pip install -r doc/requirements.txt | ||
pip install west==${WEST_VERSION} | ||
pip install cmake==${CMAKE_VERSION} | ||
- name: west setup | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,7 @@ on: | |
- v*-branch | ||
- collab-* | ||
paths: | ||
- 'scripts/build/**' | ||
- 'scripts/requirements*.txt' | ||
- 'scripts/**' | ||
- '.github/workflows/hello_world_multiplatform.yaml' | ||
- 'SDK_VERSION' | ||
|
||
|
@@ -45,6 +44,8 @@ jobs: | |
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Github Actions" | ||
rm -fr ".git/rebase-apply" | ||
rm -fr ".git/rebase-merge" | ||
git rebase origin/${BASE_REF} | ||
git clean -f -d | ||
git log --graph --oneline HEAD...${PR_HEAD} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ jobs: | |
BASE_REF: ${{ github.base_ref }} | ||
working-directory: zephyrproject/zephyr | ||
run: | | ||
pip3 install west | ||
pip install west | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Your Name" | ||
west init -l . || true | ||
- name: Manifest | ||
uses: zephyrproject-rtos/action-manifest@v1.5.0 | ||
uses: zephyrproject-rtos/action-manifest@v1.7.0 | ||
with: | ||
github-token: ${{ secrets.ZB_GITHUB_TOKEN }} | ||
manifest-path: 'west.yml' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,8 @@ jobs: | |
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Github Actions" | ||
rm -fr ".git/rebase-apply" | ||
rm -fr ".git/rebase-merge" | ||
git rebase origin/${BASE_REF} | ||
git clean -f -d | ||
git log --graph --oneline HEAD...${PR_HEAD} | ||
|
@@ -62,7 +64,7 @@ jobs: | |
- name: install-packages | ||
run: | | ||
pip3 install -r scripts/requirements-base.txt -r scripts/requirements-build-test.txt | ||
pip install -r scripts/requirements-base.txt -r scripts/requirements-build-test.txt | ||
- name: Run pytest | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,6 +67,7 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "Zephyr Bot" | ||
rm -fr ".git/rebase-apply" | ||
rm -fr ".git/rebase-merge" | ||
git rebase origin/${BASE_REF} | ||
git clean -f -d | ||
git log --pretty=oneline | head -n 10 | ||
|
Oops, something went wrong.