ci: add ubuntu esp-idf build verification workflow
Signed-off-by: Asklv <boironic@gmail.com>
This commit is contained in:
25
.github/workflows/build.yml
vendored
Normal file
25
.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
name: Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '**'
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
idf-build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: espressif/idf:v5.5.2
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Build firmware (ESP32-S3)
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
. "$IDF_PATH/export.sh"
|
||||||
|
idf.py set-target esp32s3
|
||||||
|
idf.py fullclean
|
||||||
|
idf.py build
|
||||||
Reference in New Issue
Block a user