Algorithm Test ST B-U585I-IOT02A #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-FileCopyrightText: Copyright 2022-2025 Arm Limited and/or its | |
| # affiliates <[email protected]> | |
| # SPDX-License-Identifier: Apache-2.0 | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| # See the License for the specific language governing permissions and | |
| # limitations under the License. | |
| name: Algorithm Test ST B-U585I-IOT02A | |
| on: | |
| workflow_dispatch: | |
| #pull_request: | |
| # branches: [main] | |
| #push: | |
| # branches: [main] | |
| #schedule: | |
| # - cron: '00 20 * * 6' | |
| jobs: | |
| CI: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Activate vcpkg | |
| uses: ARM-software/cmsis-actions/vcpkg@v1 | |
| with: | |
| config: ".ci/vcpkg-configuration-AC6.json" | |
| - name: Activate Arm tool license | |
| uses: ARM-software/cmsis-actions/armlm@v1 | |
| - name: Install python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.9' | |
| - name: Install PyYAML in .python_deps | |
| run: | | |
| mkdir -p .python_deps | |
| python -m pip install --target .python_deps pyyaml | |
| - name: Cache downloaded packs | |
| uses: actions/cache@v4 | |
| with: | |
| key: SDS | |
| path: /home/runner/.cache/arm/packs/.Download | |
| - name: Build AlgorithmTest for ST B-U585I-IOT2A | |
| working-directory: ./ST/B-U585I-IOT02A | |
| run: | | |
| cbuild SDS.csolution.yml --context AlgorithmTest.DebugPlay+AVH-SSE-300 --packs | |
| - name: Execute Test cases | |
| working-directory: ./ST/B-U585I-IOT02A | |
| env: | |
| PYTHONPATH: ${{ github.workspace }}/.python_deps | |
| run: | | |
| cp ../../.ci/sdsio.yml . # configure test case execution | |
| FVP_Corstone_SSE-300 -f Board/Corstone-300/fvp_config.txt -a out/AlgorithmTest/AVH-SSE-300/DebugPlay/AlgorithmTest.axf |