-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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 pr-mimxrt1062-fmurt6
- Loading branch information
Showing
2,539 changed files
with
79,221 additions
and
24,264 deletions.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
|
@@ -86,15 +86,16 @@ jobs: | |
uses: zephyrproject-rtos/[email protected] | ||
with: | ||
key: ${{ steps.ccache_cache_timestamp.outputs.repo }}-${{ github.ref_name }}-clang-${{ matrix.platform }}-ccache | ||
path: /github/home/.ccache | ||
path: /github/home/.cache/ccache | ||
aws-s3-bucket: ccache.zephyrproject.org | ||
aws-access-key-id: ${{ vars.AWS_CCACHE_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_CCACHE_SECRET_ACCESS_KEY }} | ||
aws-region: us-east-2 | ||
|
||
- name: ccache stats initial | ||
run: | | ||
test -d github/home/.ccache && rm -rf /github/home/.ccache && mv github/home/.ccache /github/home/.ccache | ||
mkdir -p /github/home/.cache | ||
test -d github/home/.cache/ccache && rm -rf /github/home/.cache/ccache && mv github/home/.cache/ccache /github/home/.cache/ccache | ||
ccache -M 10G -s | ||
- name: Run Tests with Twister | ||
|
@@ -119,6 +120,7 @@ jobs: | |
- name: ccache stats post | ||
run: | | ||
ccache -s | ||
ccache -p | ||
- name: Upload Unit Test Results | ||
if: always() && steps.twister.outputs.report_needed != 0 | ||
|
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 |
---|---|---|
|
@@ -70,15 +70,16 @@ jobs: | |
uses: zephyrproject-rtos/[email protected] | ||
with: | ||
key: ${{ steps.ccache_cache_prop.outputs.repo }}-${{github.event_name}}-${{matrix.platform}}-codecov-ccache | ||
path: /github/home/.ccache | ||
path: /github/home/.cache/ccache | ||
aws-s3-bucket: ccache.zephyrproject.org | ||
aws-access-key-id: ${{ vars.AWS_CCACHE_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_CCACHE_SECRET_ACCESS_KEY }} | ||
aws-region: us-east-2 | ||
|
||
- name: ccache stats initial | ||
run: | | ||
test -d github/home/.ccache && mv github/home/.ccache /github/home/.ccache | ||
mkdir -p /github/home/.cache | ||
test -d github/home/.cache/ccache && mv github/home/.cache/ccache /github/home/.cache/ccache | ||
ccache -M 10G -s | ||
- name: Run Tests with Twister (Push) | ||
|
@@ -100,6 +101,7 @@ jobs: | |
- name: ccache stats post | ||
run: | | ||
ccache -s | ||
ccache -p | ||
- name: Upload Coverage Results | ||
if: always() | ||
|
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 |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# Copyright 2023 Google LLC | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
name: Scripts tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- v*-branch | ||
paths: | ||
- 'scripts/build/**' | ||
- '.github/workflows/scripts_tests.yml' | ||
pull_request: | ||
branches: | ||
- main | ||
- v*-branch | ||
paths: | ||
- 'scripts/build/**' | ||
- '.github/workflows/scripts_tests.yml' | ||
|
||
jobs: | ||
scripts-tests: | ||
name: Scripts tests | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
python-version: [3.8, 3.9, '3.10'] | ||
os: [ubuntu-20.04] | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
fetch-depth: 0 | ||
|
||
- name: Rebase | ||
continue-on-error: true | ||
env: | ||
BASE_REF: ${{ github.base_ref }} | ||
PR_HEAD: ${{ github.event.pull_request.head.sha }} | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Github Actions" | ||
git rebase origin/${BASE_REF} | ||
git log --graph --oneline HEAD...${PR_HEAD} | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: cache-pip-linux | ||
if: startsWith(runner.os, 'Linux') | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ matrix.python-version }} | ||
restore-keys: | | ||
${{ runner.os }}-pip-${{ matrix.python-version }} | ||
- name: install-packages | ||
run: | | ||
pip3 install -r scripts/requirements-base.txt -r scripts/requirements-build-test.txt | ||
- name: Run pytest | ||
env: | ||
ZEPHYR_BASE: ./ | ||
run: | | ||
echo "Run script tests" | ||
pytest ./scripts/build |
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
Validating CODEOWNERS rules …
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
Oops, something went wrong.