Skip to content

Commit e6cbdf4

Browse files
authored
CI Test for ST B-U585 Algorithm Added
2 parents 82ab8b9 + 5fd025c commit e6cbdf4

4 files changed

Lines changed: 43 additions & 13 deletions

File tree

.ci/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Continuous Integration (CI) Test for Board Support Pack (BSP)
22

3-
Content of `.ci` Directory | Description
4-
:----------------------------|:-----------------
5-
`vcpkg-configuration.json` | Tool setup for the CI test
3+
Content of `.ci` Directory | Description
4+
:------------------------------|:-----------------
5+
`vcpkg-configuration.json` | Tool setup for the CI test with AC6, GCC, CLANG
6+
`vcpkg-configuration-AC6.json` | Tool setup for the CI test with AC6
7+
`sdsio.yml` | FVP configuration for ST B-U585I-IOT02A sdsio-vsi interface
68

79
The [GitHub Actions](https://github.com/Arm-Examples/SDS-Examples/tree/main/README.md#github-actions) in the directory [`.github/workflows`](https://github.com/Arm-Examples/SDS-Examples/tree/main/.github/workflows) are the scripts for the CI tests. These scripts contain detailed comments about each step that is executed.

.ci/vcpkg-configuration-AC6.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"registries": [
3+
{
4+
"name": "arm",
5+
"kind": "artifact",
6+
"location": "https://artifacts.tools.arm.com/vcpkg-registry"
7+
}
8+
],
9+
"requires": {
10+
"arm:tools/open-cmsis-pack/cmsis-toolbox": "^2.10.0",
11+
"arm:compilers/arm/armclang": "^6.24.0",
12+
"arm:tools/kitware/cmake": "^3.31.5",
13+
"arm:tools/ninja-build/ninja": "^1.12.1",
14+
"arm:models/arm/avh-fvp": "^11.29.27"
15+
}
16+
}

.github/workflows/AlgorithmTest_ST_B-U585-IOT2A.yaml renamed to .github/workflows/AlgorithmTest_ST_B-U585I-IOT02A.yaml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
name: Algorithm Test ST B-U585-IOT2A
17+
name: Algorithm Test ST B-U585I-IOT02A
1818
on:
1919

2020
workflow_dispatch:
@@ -25,7 +25,6 @@ on:
2525
#schedule:
2626
# - cron: '00 20 * * 6'
2727

28-
2928
jobs:
3029
CI:
3130
runs-on: ubuntu-latest
@@ -37,24 +36,35 @@ jobs:
3736
- name: Activate vcpkg
3837
uses: ARM-software/cmsis-actions/vcpkg@v1
3938
with:
40-
config: ".ci/vcpkg-configuration.json"
39+
config: ".ci/vcpkg-configuration-AC6.json"
4140

4241
- name: Activate Arm tool license
4342
uses: ARM-software/cmsis-actions/armlm@v1
4443

44+
- name: Install python
45+
uses: actions/setup-python@v5
46+
with:
47+
python-version: '3.9'
48+
49+
- name: Install PyYAML in .python_deps
50+
run: |
51+
mkdir -p .python_deps
52+
python -m pip install --target .python_deps pyyaml
4553
- name: Cache downloaded packs
4654
uses: actions/cache@v4
4755
with:
48-
key: Alif
56+
key: SDS
4957
path: /home/runner/.cache/arm/packs/.Download
5058

51-
- name: Build AlgorithmTest for ST B-U585-IOT2A
52-
working-directory: ./ST/B-U585-IOT02A
59+
- name: Build AlgorithmTest for ST B-U585I-IOT2A
60+
working-directory: ./ST/B-U585I-IOT02A
5361
run: |
54-
cbuild sds.csolution.yml --context AlgorithmTest.DebugPlay+AVH-SSE-300 --packs
62+
cbuild SDS.csolution.yml --context AlgorithmTest.DebugPlay+AVH-SSE-300 --packs
5563
5664
- name: Execute Test cases
57-
working-directory: ./ST/B-U585-IOT02A
65+
working-directory: ./ST/B-U585I-IOT02A
66+
env:
67+
PYTHONPATH: ${{ github.workspace }}/.python_deps
5868
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
69+
cp ../../.ci/sdsio.yml . # configure test case execution
70+
FVP_Corstone_SSE-300 -f Board/Corstone-300/fvp_config.txt -a out/AlgorithmTest/AVH-SSE-300/DebugPlay/AlgorithmTest.axf

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![Algorithm Test ST/B-U585I-IOT02A](https://img.shields.io/github/actions/workflow/status/Arm-Examples/SDS-Examples/AlgorithmTest_ST_B-U585I-IOT02A.yaml?logo=arm&logoColor=0091bd&label=Algorithm%20Test%20ST/B-U585I-IOT02A)](https://img.shields.io/github/actions/workflow/status/Arm-Examples/SDS-Examples/AlgorithmTest_ST_B-U585I-IOT02A.yaml)
2+
13
# SDS-Examples
24

35
This repository contains examples that show the usage of the [Synchronous Data Streaming (SDS) Framework](https://github.com/ARM-software/SDS-Framework).

0 commit comments

Comments
 (0)