-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/release-candidate' into release
- Loading branch information
Showing
550 changed files
with
30,353 additions
and
3,903 deletions.
There are no files selected for viewing
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
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,56 @@ | ||
name: 'Generate documentation with Doxygen' | ||
|
||
on: | ||
push: | ||
branches: | ||
- dev | ||
|
||
env: | ||
TARGETS: f7 | ||
DEFAULT_TARGET: f7 | ||
|
||
jobs: | ||
doxygen: | ||
if: ${{ !github.event.pull_request.head.repo.fork }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Wipe workspace' | ||
run: find ./ -mount -maxdepth 1 -exec rm -rf {} \; | ||
|
||
- name: 'Checkout code' | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
fetch-depth: 1 | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- name: 'Get commit details' | ||
id: names | ||
run: | | ||
if [[ ${{ github.event_name }} == 'pull_request' ]]; then | ||
TYPE="pull" | ||
elif [[ "${{ github.ref }}" == "refs/tags/"* ]]; then | ||
TYPE="tag" | ||
else | ||
TYPE="other" | ||
fi | ||
python3 scripts/get_env.py "--event_file=${{ github.event_path }}" "--type=$TYPE" | ||
- name: 'Generate documentation' | ||
uses: mattnotmitt/[email protected] | ||
with: | ||
working-directory: 'documentation/' | ||
doxyfile-path: './doxygen/Doxyfile-awesome.cfg' | ||
|
||
- name: 'Upload documentation' | ||
uses: jakejarvis/[email protected] | ||
env: | ||
AWS_S3_BUCKET: "${{ secrets.FW_DOCS_AWS_BUCKET }}" | ||
AWS_ACCESS_KEY_ID: "${{ secrets.FW_DOCS_AWS_ACCESS_KEY }}" | ||
AWS_SECRET_ACCESS_KEY: "${{ secrets.FW_DOCS_AWS_SECRET_KEY }}" | ||
AWS_REGION: "${{ secrets.FW_DOCS_AWS_REGION }}" | ||
SOURCE_DIR: "./documentation/doxygen/build/html" | ||
DEST_DIR: "${{steps.names.outputs.branch_name}}" | ||
with: | ||
args: "--delete" | ||
|
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 |
---|---|---|
@@ -1,15 +1,32 @@ | ||
name: 'Reindex' | ||
name: 'Post-release hooks' | ||
|
||
on: | ||
release: | ||
types: [prereleased,released] | ||
types: [prereleased, released] | ||
|
||
jobs: | ||
reindex: | ||
name: 'Reindex updates' | ||
name: 'Post-release hooks' | ||
runs-on: [self-hosted, FlipperZeroShell] | ||
steps: | ||
- name: Trigger reindex | ||
- name: 'Checkout code' | ||
uses: actions/checkout@v4 | ||
|
||
- name: 'Trigger reindex' | ||
run: | | ||
curl --fail -L -H "Token: ${{ secrets.INDEXER_TOKEN }}" \ | ||
"${{ secrets.INDEXER_URL }}"/firmware/reindex | ||
"${{ secrets.INDEXER_URL }}"/firmware/reindex; | ||
- name: 'Send release notification' | ||
if: ${{ github.event.action == 'released' }} | ||
run: | | ||
echo '${{ secrets.FIREBASE_TOKEN }}' > firebase-token.json; | ||
python3 -m pip install firebase-admin==6.4.0; | ||
python3 scripts/send_firebase_notification.py \ | ||
"--version=${{ github.event.release.name }}" \ | ||
"--token=firebase-token.json"; | ||
- name: 'Remove firebase token' | ||
if: always() | ||
run: | | ||
rm -rf firebase-token.json; |
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 |
---|---|---|
@@ -1 +1 @@ | ||
--ignore-ccache -C gccarm --rules-config .pvsconfig -e lib/cmsis_core -e lib/fatfs -e lib/fnv1a-hash -e lib/FreeRTOS-Kernel -e lib/heatshrink -e lib/libusb_stm32 -e lib/littlefs -e lib/mbedtls -e lib/microtar -e lib/mlib -e lib/stm32wb_cmsis -e lib/stm32wb_copro -e lib/stm32wb_hal -e lib/u8g2 -e lib/nanopb -e */arm-none-eabi/* | ||
--ignore-ccache -C gccarm --rules-config .pvsconfig -e lib/cmsis_core -e lib/fatfs -e lib/fnv1a-hash -e lib/FreeRTOS-Kernel -e lib/heatshrink -e lib/libusb_stm32 -e lib/littlefs -e lib/mbedtls -e lib/microtar -e lib/mlib -e lib/stm32wb_cmsis -e lib/stm32wb_copro -e lib/stm32wb_hal -e lib/u8g2 -e lib/nanopb -e lib/mjs -e */arm-none-eabi/* |
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
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.