From b317ff0a00905d6b8f5b12c3f18ee0c5d07f160d Mon Sep 17 00:00:00 2001 From: Anton Bondarenko Date: Tue, 1 Jul 2025 10:36:59 +0200 Subject: [PATCH] Run SME/SME2 examples in FVP Signed-off-by: Anton Bondarenko --- .gitlab-ci.yml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6c3800a2..61b1d72d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -148,10 +148,10 @@ test-examples: script: - > for EXAMPLE in `ls build -1`; do + [[ $EXAMPLE == *sme* ]] && continue echo "-----------------------------------------------------------" echo "Run ${EXAMPLE}" echo "-----------------------------------------------------------" - [[ $EXAMPLE == *sme* ]] && continue build/${EXAMPLE} | tee -a example_${EXAMPLE}.log done artifacts: @@ -495,6 +495,31 @@ test-linux-aarch64-sme1only-fvp: reports: junit: kleidiai-${CI_JOB_NAME_SLUG}.xml +test-examples-sme-fvp: + extends: + - .standard-rules + stage: test + needs: + - build-examples + script: + - | + echo -e "#\!/bin/bash -ex" | tee run_tests.sh + for EXAMPLE in `ls -1 build`; do + [[ $EXAMPLE == *sme* ]] || continue + echo "-----------------------------------------------------------" | tee run_tests.sh + echo "Run ${EXAMPLE}" | tee run_tests.sh + echo "-----------------------------------------------------------" | tee run_tests.sh + echo -e "echo \"Run ${EXAMPLE}\"\n./build/${EXAMPLE} | tee -a example_${EXAMPLE}.log" | tee run_tests.sh + done + chmod a+x run_tests.sh + - FVP_TEST_EXECUTABLE="./run_tests.sh" + - *test-linux-fvp + artifacts: + expire_in: 1 day + paths: + - "example_*.log" + + coverage: extends: - .standard-rules -- GitLab