Skip to content

Commit

Permalink
feature(CI): Added esp_iot_solutions example build verification for l…
Browse files Browse the repository at this point in the history
…atest idf
  • Loading branch information
roma-jam committed Nov 6, 2024
1 parent 4b4c984 commit c318512
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build_iot_examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build ESP IoT Solution USB Device examples

on:
schedule:
- cron: '0 0 * * SAT' # Saturday midnight
pull_request:
types: [opened, reopened, synchronize]

jobs:
build:
strategy:
matrix:
# idf_ver: ["release-v5.0", "release-v5.1", "release-v5.2", "release-v5.3", "release-v5.4", "latest"]
idf_ver: ["latest"]
runs-on: ubuntu-20.04
container: espressif/idf:${{ matrix.idf_ver }}
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Build ESP IoT Solution USB Device examples
shell: bash
run: |
. ${IDF_PATH}/export.sh
git clone https://github.com/espressif/esp-iot-solution.git
pip install idf-component-manager==2.0.4 idf-build-apps --upgrade
idf-build-apps find --paths esp-iot-solution/examples/usb/device/ --recursive --manifest-files esp-iot-solution/examples/.build-rules.yml --manifest-rootpath esp-iot-solution/
idf-build-apps build --paths esp-iot-solution/examples/usb/device/ --recursive --manifest-files esp-iot-solution/examples/.build-rules.yml --manifest-rootpath esp-iot-solution/

0 comments on commit c318512

Please sign in to comment.