Skip to content

Commit b669329

Browse files
ci: Build for all targets
1 parent 36dff04 commit b669329

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/build_and_run_esp_usb_test_apps.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626
shell: bash
2727
run: |
2828
. ${IDF_PATH}/export.sh
29-
pip install --no-cache-dir idf-component-manager>=2.1.2 idf-build-apps pyyaml --upgrade
29+
pip install --no-cache-dir idf-component-manager>=2.1.2 idf-build-apps==2.13.1 pyyaml --upgrade
3030
export PEDANTIC_FLAGS="-DIDF_CI_BUILD -Werror -Werror=deprecated-declarations -Werror=unused-variable -Werror=unused-but-set-variable -Werror=unused-function"
3131
export EXTRA_CFLAGS="${PEDANTIC_FLAGS} -Wstrict-prototypes"
3232
export EXTRA_CXXFLAGS="${PEDANTIC_FLAGS}"
3333
python .github/ci/override_managed_component.py tinyusb . ${{ env.ESP_TINYUSB_TEST_APPS }}/*/
34-
idf-build-apps find --path ${{ env.ESP_TINYUSB_TEST_APPS }}/ --recursive --target esp32s2 --manifest-file ${{ env.ESP_USB_MANIFEST }}
35-
idf-build-apps build --path ${{ env.ESP_TINYUSB_TEST_APPS }}/ --recursive --target esp32s2 --manifest-file ${{ env.ESP_USB_MANIFEST }}
34+
idf-build-apps find --path ${{ env.ESP_TINYUSB_TEST_APPS }}/ --recursive --target all --manifest-file ${{ env.ESP_USB_MANIFEST }}
35+
idf-build-apps build --path ${{ env.ESP_TINYUSB_TEST_APPS }}/ --recursive --target all --manifest-file ${{ env.ESP_USB_MANIFEST }}
3636
- uses: actions/upload-artifact@v4
3737
with:
3838
name: usb_test_app_bin_${{ matrix.idf_ver }}

.github/workflows/build_and_run_idf_examples.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,24 @@ jobs:
1818
shell: bash
1919
run: |
2020
. ${IDF_PATH}/export.sh
21-
pip install --no-cache-dir idf-component-manager>=2.1.2 idf-build-apps pyyaml --upgrade
21+
pip install --no-cache-dir idf-component-manager>=2.1.2 idf-build-apps==2.13.1 pyyaml --upgrade
2222
- name: Build Network USB related examples
2323
shell: bash
2424
run: |
2525
. ${IDF_PATH}/export.sh
2626
export EXAMPLES_PATH="${IDF_PATH}/examples/network/sta2eth"
2727
export MANIFEST_FILE="${IDF_PATH}/examples/network/.build-test-rules.yml"
28-
idf-build-apps find --path ${EXAMPLES_PATH}/ --target esp32s2 --manifest-file ${MANIFEST_FILE}
29-
idf-build-apps build --path ${EXAMPLES_PATH}/ --target esp32s2 --manifest-file ${MANIFEST_FILE}
28+
idf-build-apps find --path ${EXAMPLES_PATH}/ --target all --manifest-file ${MANIFEST_FILE}
29+
idf-build-apps build --path ${EXAMPLES_PATH}/ --target all --manifest-file ${MANIFEST_FILE}
3030
- name: Build USB Device examples
3131
shell: bash
3232
run: |
3333
. ${IDF_PATH}/export.sh
3434
export EXAMPLES_PATH="${IDF_PATH}/examples/peripherals/usb/device"
3535
export MANIFEST_FILE="${IDF_PATH}/examples/peripherals/.build-test-rules.yml"
3636
python .github/ci/override_managed_component.py tinyusb . ${EXAMPLES_PATH}/tusb_*
37-
idf-build-apps find --path ${EXAMPLES_PATH}/ --recursive --target esp32s2 --manifest-file ${MANIFEST_FILE}
38-
idf-build-apps build --path ${EXAMPLES_PATH}/ --recursive --target esp32s2 --manifest-file ${MANIFEST_FILE}
37+
idf-build-apps find --path ${EXAMPLES_PATH}/ --recursive --target all --manifest-file ${MANIFEST_FILE}
38+
idf-build-apps build --path ${EXAMPLES_PATH}/ --recursive --target all --manifest-file ${MANIFEST_FILE}
3939
- uses: actions/upload-artifact@v4
4040
with:
4141
# We upload only the USB Device example binaries to run them on the target

.github/workflows/build_iot_examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
shell: bash
2828
run: |
2929
. ${IDF_PATH}/export.sh
30-
pip install --no-cache-dir idf-component-manager>=2.1.2 idf-build-apps pyyaml --upgrade
30+
pip install --no-cache-dir idf-component-manager>=2.1.2 idf-build-apps==2.13.1 pyyaml --upgrade
3131
python .github/ci/override_managed_component.py tinyusb . ${{ env.EXAMPLE_PATH }}/
3232
idf-build-apps find --paths ${{ env.EXAMPLE_PATH }} --target all --manifest-file ${{ env.MANIFEST_PATH }} --manifest-rootpath ${{ env.ESP_IOT_PATH }}
3333
idf-build-apps build --paths ${{ env.EXAMPLE_PATH }} --target all --manifest-file ${{ env.MANIFEST_PATH }} --manifest-rootpath ${{ env.ESP_IOT_PATH }}

0 commit comments

Comments
 (0)