ci: Add ESP-IDF firmware build job
Some checks failed
Lint & Build / Secret Scanning (push) Successful in 3s
Lint & Build / Shell Script Analysis (push) Successful in 4s
Lint & Build / Security Flaw Analysis (push) Successful in 11s
Lint & Build / C/C++ Static Analysis (push) Successful in 18s
Lint & Build / Build Firmware (push) Failing after 1m44s
Some checks failed
Lint & Build / Secret Scanning (push) Successful in 3s
Lint & Build / Shell Script Analysis (push) Successful in 4s
Lint & Build / Security Flaw Analysis (push) Successful in 11s
Lint & Build / C/C++ Static Analysis (push) Successful in 18s
Lint & Build / Build Firmware (push) Failing after 1m44s
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: Lint & Security
|
name: Lint & Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -7,6 +7,25 @@ on:
|
|||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build Firmware
|
||||||
|
runs-on: anvil
|
||||||
|
container:
|
||||||
|
image: docker.io/espressif/idf:v5.3
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
run: |
|
||||||
|
git clone --depth=1 --branch=${{ github.ref_name }} \
|
||||||
|
https://oauth2:${{ github.token }}@git.mymx.me/${{ github.repository }}.git .
|
||||||
|
|
||||||
|
- name: Build firmware
|
||||||
|
run: |
|
||||||
|
cd get-started/csi_recv_router
|
||||||
|
idf.py build
|
||||||
|
|
||||||
|
- name: Show binary size
|
||||||
|
run: |
|
||||||
|
ls -lh get-started/csi_recv_router/build/*.bin
|
||||||
cppcheck:
|
cppcheck:
|
||||||
name: C/C++ Static Analysis
|
name: C/C++ Static Analysis
|
||||||
runs-on: anvil
|
runs-on: anvil
|
||||||
|
|||||||
Reference in New Issue
Block a user