summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-08-01 16:12:57 +0700
committerGitHub <[email protected]>2024-08-01 16:12:57 +0700
commit271e2a30e1981ae1b52e5236dc028e3289873000 (patch)
tree33772eb520b1569a95d676a11a82a1a2302572d4 /.github/workflows
parentc60934eedcc363f320cb66695f0034312094bfd8 (diff)
parent3f4f6c0ec7f5c95ca8a1965a078c0f92d0d4e8ad (diff)
Merge pull request #2749 from hathach/hil-change
HIL test hardware changes
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml4
-rw-r--r--.github/workflows/cifuzz.yml2
-rw-r--r--.github/workflows/hil_test.yml22
3 files changed, 11 insertions, 17 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 712c7dd43..fda7f0294 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -120,10 +120,8 @@ jobs:
fail-fast: false
matrix:
board:
- # ESP32-S2
- 'espressif_kaluga_1'
- # ESP32-S3 skip since devkitm is also compiled in hil-test workflow
- #- 'espressif_s3_devkitm'
+ - 'espressif_s3_devkitm'
with:
build-system: 'cmake'
toolchain: 'esp-idf'
diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml
index 622d261a0..d7f1fc066 100644
--- a/.github/workflows/cifuzz.yml
+++ b/.github/workflows/cifuzz.yml
@@ -26,7 +26,7 @@ jobs:
with:
oss-fuzz-project-name: 'tinyusb'
language: c++
- fuzz-seconds: 600
+ fuzz-seconds: 400
- name: Upload Crash
uses: actions/upload-artifact@v4
diff --git a/.github/workflows/hil_test.yml b/.github/workflows/hil_test.yml
index 51227d408..a4573faf7 100644
--- a/.github/workflows/hil_test.yml
+++ b/.github/workflows/hil_test.yml
@@ -66,9 +66,11 @@ jobs:
cmake-build/cmake-build-*/*/*/*.bin
# ---------------------------------------
- # Build Espressif
+ # Build Espressif (skipped since CP210x cause USB bus issue)
+ # cp210x ttyUSB0: usb_serial_generic_write_bulk_callback - nonzero urb status: -71
# ---------------------------------------
build-esp:
+ if: false
runs-on: ubuntu-latest
outputs:
BOARDS_LIST: ${{ steps.parse_hil_json.outputs.BOARDS_LIST }}
@@ -121,10 +123,10 @@ jobs:
if: github.repository_owner == 'hathach'
needs:
- build
- - build-esp
+ #- build-esp
runs-on: [self-hosted, ARM64, rpi, hardware-in-the-loop]
env:
- BOARDS_LIST: "${{ needs.build.outputs.BOARDS_LIST }} ${{ needs.build-esp.outputs.BOARDS_LIST }}"
+ BOARDS_LIST: "${{ needs.build-esp.outputs.BOARDS_LIST }} ${{ needs.build.outputs.BOARDS_LIST }}"
steps:
- name: Clean workspace
run: |
@@ -135,9 +137,9 @@ jobs:
# USB bus on rpi is not stable, reset it before testing
# - name: Reset USB bus
# run: |
-# # reset VIA Labs 2.0 hub
-# sudo usbreset 001/002
-# lsusb -t
+# echo "1-2" | sudo tee /sys/bus/usb/drivers/usb/unbind
+# sleep 5
+# echo "1-2" | sudo tee /sys/bus/usb/drivers/usb/bind
- name: Checkout TinyUSB
uses: actions/checkout@v4
@@ -147,14 +149,8 @@ jobs:
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
- name: hil_rpi
- path: cmake-build
-
- - name: Download Artifacts
- uses: actions/download-artifact@v4
- with:
- name: hil_rpi_esp
path: cmake-build
+ merge-multiple: true
- name: Test on actual hardware
run: |