From 88288c33212a2ee05c30d016b6b52dfa4719ee2e Mon Sep 17 00:00:00 2001 From: Michael Rogenmoser Date: Fri, 22 Mar 2024 17:25:32 +0100 Subject: [PATCH] another attempt --- .gitlab-ci.yml | 39 +++++++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e7ec7994..6dfe7b11 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -56,6 +56,7 @@ build_rtl: paths: - target/sim/tb/tb_lib/remote_bitbang/* # we want to reuse bitbang lib - target/sim/vip/* + - build/questasim/* lint: @@ -78,22 +79,36 @@ lint: # Use sdk-releases to run all tests test_sequential_bare: stage: test - before_script: - - echo "Compiling RTL model and DPI libraries" - - make build + needs: [ build_rtl ] + parallel: + matrix: + - { TEST: dct } + - { TEST: fft2 } + - { TEST: rijndael } + - { TEST: jacobi-2d-imper } + - { TEST: bitDescriptor } + - { TEST: stencil_vect } + - { TEST: keccak } + - { TEST: fir } + - { TEST: stencil } + - { TEST: ipm } + - { TEST: towerofhanoi } + - { TEST: crc32 } + - { TEST: conv2d } + - { TEST: seidel } + - { TEST: fibonacci } + - { TEST: gauss-2d } + - { TEST: aes_cbc } + - { TEST: bubblesort } + - { TEST: fdtd-1d } + - { TEST: jacobi-1d-imper } + - { TEST: fft } script: - echo "Running sequential bare tests" - source sw/pulp-runtime/configs/pulpissimo.sh - export VSIM_PATH=$PWD/build/questasim - - cd sw/regression_tests - - ../pulp-runtime/scripts/bwruntests.py --proc-verbose -v --report-junit -t 3600 --yaml -o simplified-runtime.xml sequential-bare-tests.yaml - artifacts: - name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA" - paths: - - sw/regression_tests/sequential_bare_tests/junit-reports/TEST-*.html - - sw/regression_tests/sequential_bare_tests/junit-reports/TEST-*.xml - reports: - junit: sw/regression_tests/sequential_bare_tests/junit-reports/TEST-*.xml + - cd sw/regression_tests/sequential_bare_tests/${TEST} + - riscv make clean all run test_ml: stage: test