Skip to content

Commit

Permalink
.github/workflows/ports_psoc6.yml: WIP for multi on target.
Browse files Browse the repository at this point in the history
Signed-off-by: enriquezgarc <enriquezgarcia.external@infineon.com>
  • Loading branch information
jaenrig-ifx committed Aug 4, 2023
1 parent 27fd4d9 commit 7209a61
Showing 1 changed file with 23 additions and 21 deletions.
44 changes: 23 additions & 21 deletions .github/workflows/ports_psoc6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,27 +53,29 @@ jobs:
- uses: actions/checkout@v3
- name: Download binaries
uses: actions/download-artifact@v3
- name: Setup device
run: |
cd tools/psoc6
cp ../../mpy-psoc6_${{ matrix.board }}_${{ needs.server-build.outputs.commit_sha }}/firmware.hex .
source mpy-psoc6.sh && openocd_download_install && openocd_board_conf_download ${{ matrix.board }} && mpy_firmware_deploy ${{ matrix.board }} firmware.hex
cd ../..
- name: Run psoc6 tests
run: |
cd tests
./psoc6/run_psoc6_tests.sh --psoc6
- name: Run psoc6 multi test
run: |
cd tests
./psoc6/run_psoc6_tests.sh --psoc6-multi
- name: Run all implemented tests
# if: github.event_name == 'pull_request'
continue-on-error: true
run: |
cd tests
./psoc6/run_psoc6_tests.sh -i
- name: Install packages
run: source tools/ci.sh && ci_psoc6_setup
# - name: Setup device
# run: |
# cd tools/psoc6
# cp ../../mpy-psoc6_${{ matrix.board }}_${{ needs.server-build.outputs.commit_sha }}/firmware.hex .
# source mpy-psoc6.sh && openocd_download_install && openocd_board_conf_download ${{ matrix.board }} && mpy_firmware_deploy ${{ matrix.board }} firmware.hex
# cd ../..
# - name: Run psoc6 multi test
# run: |
# cd tests
# ./psoc6/run_psoc6_tests.sh --psoc6-multi
# - name: Run psoc6 tests
# run: |
# cd tests
# ./psoc6/run_psoc6_tests.sh --psoc6
# TODO: Enable when HIL is updgraded
# - name: Run all implemented tests
# if: github.event_name == 'pull_request'
# continue-on-error: true
# run: |
# cd tests
# ./psoc6/run_psoc6_tests.sh -i

release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 7209a61

Please sign in to comment.