mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-25 10:43:44 +00:00
disable orphan board workflow and minor update to pi4 workflow
This commit is contained in:
parent
d17eb94e84
commit
ba0f1a3be5
8
.github/workflows/build_arm.yml
vendored
8
.github/workflows/build_arm.yml
vendored
@ -123,9 +123,11 @@ jobs:
|
|||||||
|
|
||||||
# ---------------------------------------
|
# ---------------------------------------
|
||||||
# Build all no-family (orphaned) boards
|
# Build all no-family (orphaned) boards
|
||||||
|
# disable this workflow since it is often failed randomly
|
||||||
# ---------------------------------------
|
# ---------------------------------------
|
||||||
build-board:
|
build-board:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: false
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@ -163,7 +165,7 @@ jobs:
|
|||||||
# - pico + pico-probe connected via USB
|
# - pico + pico-probe connected via USB
|
||||||
# - pico-probe is /dev/ttyACM0
|
# - pico-probe is /dev/ttyACM0
|
||||||
# ---------------------------------------
|
# ---------------------------------------
|
||||||
hw-pi4-test:
|
hw-rp2040-test:
|
||||||
# Limit the run to only hathach due to limited resource on RPI4
|
# Limit the run to only hathach due to limited resource on RPI4
|
||||||
if: github.repository_owner == 'hathach'
|
if: github.repository_owner == 'hathach'
|
||||||
needs: build-arm
|
needs: build-arm
|
||||||
@ -183,9 +185,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Create flash.sh
|
- name: Create flash.sh
|
||||||
run: |
|
run: |
|
||||||
touch flash.sh
|
echo > flash.sh 'cmdout=$(openocd -f "interface/picoprobe.cfg" -f "target/rp2040.cfg" -c "program $1 reset exit")'
|
||||||
|
echo >> flash.sh 'if (( $? )) ; then echo $cmdout ; fi'
|
||||||
chmod +x flash.sh
|
chmod +x flash.sh
|
||||||
echo > flash.sh 'openocd -f "interface/picoprobe.cfg" -f "target/rp2040.cfg" -c "program $1 reset exit"'
|
|
||||||
|
|
||||||
- name: Test cdc_dual_ports
|
- name: Test cdc_dual_ports
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user