diff options
| author | Ha Thach <[email protected]> | 2022-11-16 15:34:05 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-11-16 15:34:05 +0700 |
| commit | 67cda9b7f9544d97052ed5c44443c16291a085fc (patch) | |
| tree | bca3949da241b0679bafcbfbfdf755b7fb945a5f /.github/workflows/build_arm.yml | |
| parent | 6c6b7ee2bf7df7463cf41bc3cfc919e4d5fee337 (diff) | |
| parent | fc523733c188b3afdac772e525e7309358a233d9 (diff) | |
Merge pull request #1740 from hathach/add-HiFiPhile-selfhost
Add hifiphile self-hosted
Diffstat (limited to '.github/workflows/build_arm.yml')
| -rw-r--r-- | .github/workflows/build_arm.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/build_arm.yml b/.github/workflows/build_arm.yml index 53f73a48f..369048fc6 100644 --- a/.github/workflows/build_arm.yml +++ b/.github/workflows/build_arm.yml @@ -123,9 +123,11 @@ jobs: # --------------------------------------- # Build all no-family (orphaned) boards + # disable this workflow since it is often failed randomly # --------------------------------------- build-board: runs-on: ubuntu-latest + if: false strategy: fail-fast: false matrix: @@ -163,11 +165,11 @@ jobs: # - pico + pico-probe connected via USB # - pico-probe is /dev/ttyACM0 # --------------------------------------- - hw-test: + hw-rp2040-test: # Limit the run to only hathach due to limited resource on RPI4 if: github.repository_owner == 'hathach' needs: build-arm - runs-on: [self-hosted, Linux, ARM64] + runs-on: [self-hosted, Linux, ARM64, rp2040] steps: - name: Clean workspace @@ -183,9 +185,9 @@ jobs: - name: Create flash.sh 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 - echo > flash.sh 'openocd -f "interface/picoprobe.cfg" -f "target/rp2040.cfg" -c "program $1 reset exit"' - name: Test cdc_dual_ports run: | |
