|
| 1 | +# SPDX-FileCopyrightText: Copyright 2022-2025 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: Algorithm Test ST B-U585-IOT2A |
| 18 | +on: |
| 19 | + |
| 20 | + workflow_dispatch: |
| 21 | + #pull_request: |
| 22 | + # branches: [main] |
| 23 | + #push: |
| 24 | + # branches: [main] |
| 25 | + #schedule: |
| 26 | + # - cron: '00 20 * * 6' |
| 27 | + |
| 28 | + |
| 29 | +jobs: |
| 30 | + CI: |
| 31 | + runs-on: ubuntu-latest |
| 32 | + |
| 33 | + steps: |
| 34 | + - name: Checkout repository |
| 35 | + uses: actions/checkout@v4 |
| 36 | + |
| 37 | + - name: Activate vcpkg |
| 38 | + uses: ARM-software/cmsis-actions/vcpkg@v1 |
| 39 | + with: |
| 40 | + config: ".ci/vcpkg-configuration.json" |
| 41 | + |
| 42 | + - name: Activate Arm tool license |
| 43 | + uses: ARM-software/cmsis-actions/armlm@v1 |
| 44 | + |
| 45 | + - name: Cache downloaded packs |
| 46 | + uses: actions/cache@v4 |
| 47 | + with: |
| 48 | + key: Alif |
| 49 | + path: /home/runner/.cache/arm/packs/.Download |
| 50 | + |
| 51 | + - name: Build AlgorithmTest for ST B-U585-IOT2A |
| 52 | + working-directory: ./ST/B-U585-IOT02A |
| 53 | + run: | |
| 54 | + cbuild sds.csolution.yml --context AlgorithmTest.DebugPlay+AVH-SSE-300 --packs |
| 55 | +
|
| 56 | + - name: Execute Test cases |
| 57 | + working-directory: ./ST/B-U585-IOT02A |
| 58 | + run: | |
| 59 | + cp ../../.ci/sdsio.yml # configure test case execution |
| 60 | + FVP_Corstone_SSE-300 -f Board/Corstone-300/fvp_config.txt -a out\DataTest\AVH-SSE-300\DebugRec\DataTest.axf |
0 commit comments