Skip to content

Commit

Permalink
ci: update xxlcz run job
Browse files Browse the repository at this point in the history
Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi committed Apr 8, 2024
1 parent ef12a1c commit c1a2652
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ deploy_website:
- which qemu-system-riscv32 && qemu-system-riscv32 --version
- which make && make --version
- which python3 && python3 --version
- rm -rf logs
# CI_JOB_NAME_SLUG is introduced >=15.4 gitlab release
- export CI_JOB_NAME_SHORT=${CI_JOB_NAME/[\[ :\/ ]*}
- echo "CI_JOB_NAME_SHORT=${CI_JOB_NAME_SHORT}"
Expand Down Expand Up @@ -262,8 +263,8 @@ run_newlib_nano_zc_evalsoc:
- export LOGDIR=logs/${CI_JOB_NAME_SHORT}/$(basename ${HWCFG%.json})
- python3 tools/scripts/nsdk_cli/nsdk_bench.py --appcfg $APPCFG --hwcfg $HWCFG --parallel="-j" --logdir $LOGDIR --run --run_target $RUNTARGET

# Test zc feature
run_terapines_zc_evalsoc:
# Test zc feature for different toolchain
run_toolchain_xxlcz_evalsoc:
inherit:
default: false
interruptible: true
Expand All @@ -276,15 +277,18 @@ run_terapines_zc_evalsoc:
variables:
APPCFG: tools/scripts/nsdk_cli/configs/application.json
RUNTARGET: qemu
TOOLCHAIN: terapines
parallel:
matrix:
- HWCFG:
- tools/scripts/nsdk_cli/configs/nuclei_fpga_eval_ci_terapines_xxlcz.json
TOOLCHAIN:
- nuclei_gnu
- terapines
script:
- rm -rf logs
- source /home/share/devtools/env.sh
- activate_swdev
- export LOGDIR=logs/terapines/${CI_JOB_NAME_SHORT}/$(basename ${HWCFG%.json})
- export LOGDIR=logs/$TOOLCHAIN/${CI_JOB_NAME_SHORT}/$(basename ${HWCFG%.json})
- python3 tools/scripts/nsdk_cli/nsdk_bench.py --appcfg $APPCFG --hwcfg $HWCFG --parallel="-j" --logdir $LOGDIR --run --run_target $RUNTARGET --make_options "TOOLCHAIN=$TOOLCHAIN"
artifacts:
when: always
Expand Down

0 comments on commit c1a2652

Please sign in to comment.