|
1 | | -# SPDX-FileCopyrightText: Copyright 2022-2026 Arm Limited and/or its |
2 | | -# affiliates <open-source-office@arm.com> |
3 | | -# SPDX-License-Identifier: Apache-2.0 |
4 | | -# |
5 | | -# Licensed under the Apache License, Version 2.0 (the "License"); |
6 | | -# you may not use this file except in compliance with the License. |
7 | | -# You may obtain a copy of the License at |
8 | | -# |
9 | | -# http://www.apache.org/licenses/LICENSE-2.0 |
10 | | -# |
11 | | -# Unless required by applicable law or agreed to in writing, software |
12 | | -# distributed under the License is distributed on an "AS IS" BASIS, |
13 | | -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
14 | | -# See the License for the specific language governing permissions and |
15 | | -# limitations under the License. |
16 | | - |
17 | | -name: Run NUCLEO-H563ZI Debug HIL |
18 | | - |
19 | | -on: |
20 | | - workflow_dispatch: |
21 | | - |
22 | | -jobs: |
23 | | - CI: |
24 | | - runs-on: [self-hosted, rsp-p5-01] |
25 | | - |
26 | | - steps: |
27 | | - - name: Checkout repository |
28 | | - uses: actions/checkout@v6 |
29 | | - |
30 | | - - name: Download Build Artifact |
31 | | - uses: dawidd6/action-download-artifact@v21 |
32 | | - with: |
33 | | - workflow: Build_NUCLEO-H563ZI.yaml |
34 | | - name: NUCLEO-H563ZI@Debug_HIL |
35 | | - path: ./out |
36 | | - |
37 | | - - name: Flash the application |
38 | | - working-directory: ./out |
39 | | - run: | |
40 | | - pyocd load --uid 001700054142501320353451 --cbuild-run zephyr+NUCLEO-H563ZI.cbuild-run.yml -O smart_flash=false |
41 | | -
|
42 | | - - name: Execute the application |
43 | | - working-directory: ./out |
44 | | - run: | |
45 | | - pyocd run --uid 001700054142501320353451 --cbuild-run zephyr+NUCLEO-H563ZI.cbuild-run.yml -O reset_type=hardware --timelimit 10 |
46 | | -
|
47 | | - - name: Upload SystemView file |
48 | | - uses: actions/upload-artifact@v7 |
49 | | - with: |
50 | | - name: NUCLEO-H563ZI_SVDat@Debug_HIL |
51 | | - path: | |
52 | | - ./out/zephyr+NUCLEO-H563ZI.SVDat |
| 1 | +# SPDX-FileCopyrightText: Copyright 2022-2026 Arm Limited and/or its |
| 2 | +# affiliates <open-source-office@arm.com> |
| 3 | +# SPDX-License-Identifier: Apache-2.0 |
| 4 | +# |
| 5 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | +# you may not use this file except in compliance with the License. |
| 7 | +# You may obtain a copy of the License at |
| 8 | +# |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +# |
| 11 | +# Unless required by applicable law or agreed to in writing, software |
| 12 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | +# See the License for the specific language governing permissions and |
| 15 | +# limitations under the License. |
| 16 | + |
| 17 | +name: Run NUCLEO-H563ZI Debug HIL |
| 18 | + |
| 19 | +on: |
| 20 | + workflow_run: |
| 21 | + workflows: ["Build NUCLEO-H563ZI Debug HIL"] |
| 22 | + types: [completed] |
| 23 | + workflow_dispatch: |
| 24 | + |
| 25 | +jobs: |
| 26 | + CI: |
| 27 | + if: ${{ github.event_name == 'workflow_dispatch' || (github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push') }} |
| 28 | + runs-on: [self-hosted, rsp-p5-01] |
| 29 | + |
| 30 | + steps: |
| 31 | + - name: Checkout repository |
| 32 | + uses: actions/checkout@v6 |
| 33 | + |
| 34 | + - name: Download Build Artifact |
| 35 | + uses: dawidd6/action-download-artifact@v21 |
| 36 | + with: |
| 37 | + workflow: Build_NUCLEO-H563ZI.yaml |
| 38 | + name: NUCLEO-H563ZI@Debug_HIL |
| 39 | + path: ./out |
| 40 | + |
| 41 | + - name: Flash the application |
| 42 | + working-directory: ./out |
| 43 | + run: | |
| 44 | + pyocd load --uid 001700054142501320353451 --cbuild-run zephyr+NUCLEO-H563ZI.cbuild-run.yml -O smart_flash=false |
| 45 | +
|
| 46 | + - name: Execute the application |
| 47 | + working-directory: ./out |
| 48 | + run: | |
| 49 | + pyocd run --uid 001700054142501320353451 --cbuild-run zephyr+NUCLEO-H563ZI.cbuild-run.yml -O reset_type=hardware --timelimit 10 |
| 50 | +
|
| 51 | + - name: Upload SystemView file |
| 52 | + uses: actions/upload-artifact@v7 |
| 53 | + with: |
| 54 | + name: NUCLEO-H563ZI_SVDat@Debug_HIL |
| 55 | + path: | |
| 56 | + ./out/zephyr+NUCLEO-H563ZI.SVDat |
| 57 | +
|
0 commit comments