forked from hathach/tinyusb
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(CI): Added esp_iot_solutions example build verification
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
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==1.5.2 idf-build-apps --upgrade | ||
cd esp-iot-solution | ||
idf-build-apps find --path examples/usb/device/ --recursive --target all --manifest-file examples/.build-rules.yml | ||
idf-build-apps build --path examples/usb/device/ --recursive --target all --manifest-file examples/.build-rules.yml |