-
Notifications
You must be signed in to change notification settings - Fork 7.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 'master' into feature/rtos-cbuf
- Loading branch information
Showing
337 changed files
with
15,004 additions
and
3,841 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
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
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 |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
steps: | ||
# This step makes the contents of the repository available to the workflow | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup jq | ||
uses: dcarbone/[email protected] | ||
|
@@ -43,7 +43,17 @@ jobs: | |
steps: | ||
# This step makes the contents of the repository available to the workflow | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check if build.board is uppercase | ||
run: | | ||
board_name=$(echo ${{ matrix.fqbn }} | awk -F':' '{print $NF}') | ||
if grep -q "^$board_name.build.board=[A-Z0-9_]*$" boards.txt; then | ||
echo "$board_name.build.board is valid."; | ||
else | ||
echo "Error: $board_name.build.board is not uppercase!"; | ||
exit 1; | ||
fi | ||
- name: Compile sketch | ||
uses: P-R-O-C-H-Y/compile-sketches@main | ||
|
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,22 @@ | ||
name: DangerJS Pull Request linter | ||
on: | ||
pull_request_target: | ||
types: [opened, edited, reopened, synchronize] | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: write | ||
|
||
jobs: | ||
pull-request-style-linter: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out PR head | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- name: DangerJS pull request linter | ||
uses: espressif/shared-github-dangerjs@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,51 @@ | ||
name: Documentation Build and Production Deploy CI | ||
|
||
on: | ||
release: | ||
types: [published] | ||
push: | ||
branches: | ||
- release/* | ||
- master | ||
paths: | ||
- 'docs/**' | ||
- '.github/workflows/docs_deploy.yml' | ||
|
||
jobs: | ||
|
||
deploy-prod-docs: | ||
name: Deploy Documentation on Production | ||
runs-on: ubuntu-22.04 | ||
defaults: | ||
run: | ||
shell: bash | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
- name: Deploy Documentation | ||
env: | ||
# Deploy to production server | ||
# DOCS_BUILD_DIR: "./docs/_build/" | ||
DOCS_DEPLOY_PRIVATEKEY: ${{ secrets.DOCS_KEY }} | ||
DOCS_DEPLOY_PATH: ${{ secrets.DOCS_PATH }} | ||
DOCS_DEPLOY_SERVER: ${{ secrets.DOCS_SERVER }} | ||
DOCS_DEPLOY_SERVER_USER: ${{ secrets.DOCS_USER }} | ||
DOCS_DEPLOY_URL_BASE: ${{ secrets.DOCS_URL }} | ||
run: | | ||
sudo apt update | ||
sudo apt install python3-pip python3-setuptools | ||
source ./docs/utils.sh | ||
add_doc_server_ssh_keys $DOCS_DEPLOY_PRIVATEKEY $DOCS_DEPLOY_SERVER $DOCS_DEPLOY_SERVER_USER | ||
export GIT_VER=$(git describe --always) | ||
echo "PIP install requirements..." | ||
pip3 install --user -r ./docs/requirements.txt | ||
echo "Building the Docs..." | ||
cd ./docs && build-docs -l en | ||
echo "Deploy the Docs..." | ||
export DOCS_BUILD_DIR=$GITHUB_WORKSPACE/docs/ | ||
cd $GITHUB_WORKSPACE/docs | ||
deploy-docs |
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
Oops, something went wrong.