From c318512cd8577cb8da1d77c0e52d84f6500aafba Mon Sep 17 00:00:00 2001 From: Roman Leonov Date: Tue, 5 Nov 2024 11:18:02 +0100 Subject: [PATCH] feature(CI): Added esp_iot_solutions example build verification for latest idf --- .github/workflows/build_iot_examples.yml | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build_iot_examples.yml diff --git a/.github/workflows/build_iot_examples.yml b/.github/workflows/build_iot_examples.yml new file mode 100644 index 0000000000..e9f5413d2f --- /dev/null +++ b/.github/workflows/build_iot_examples.yml @@ -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/