diff --git a/.github/workflows/build_iot_examples.yml b/.github/workflows/build_iot_examples.yml new file mode 100644 index 0000000000..572e760f3e --- /dev/null +++ b/.github/workflows/build_iot_examples.yml @@ -0,0 +1,30 @@ +name: Build ESP IoT Solution examples + +on: + schedule: + - cron: '0 0 * * SAT' # Saturday midnight + pull_request: + types: [opened, reopened, synchronize] + +jobs: + build: + strategy: + matrix: + idf_ver: ["latest"] + runs-on: ubuntu-20.04 + container: espressif/iot-solution:${{ matrix.idf_ver }} + steps: + - uses: actions/checkout@v4 + with: + submodules: 'true' + - name: Build ESP IOT Solution examples + shell: bash + run: | + echo ${IDF_PATH} +# run: | +# . ${IDF_PATH}/export.sh +# pip install idf-component-manager==1.5.2 idf-build-apps --upgrade +# python .github/ci/override_managed_component.py tinyusb . ${IDF_PATH}/examples/peripherals/usb/device/tusb_* +# cd ${IDF_PATH} +# idf-build-apps find --path examples/peripherals/usb/device/ --recursive --target all --manifest-file examples/peripherals/.build-test-rules.yml +# idf-build-apps build --path examples/peripherals/usb/device/ --recursive --target all --manifest-file examples/peripherals/.build-test-rules.yml