Skip to content

Commit

Permalink
Fix FPGA build report in Gitlab CI (#1931)
Browse files Browse the repository at this point in the history
Fixed a typo in the fpga build job (introduced by fd12ee5) which was making the job fail.
Removed the output of the fpga build to avoid polluting the CI Job output.
  • Loading branch information
valentinThomazic committed Mar 15, 2024
1 parent fd12ee5 commit 9f228c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,12 @@ fpga-build:
- source $VIVADO_SETUP
- source ./verif/sim/setup-env.sh
- mkdir -p artifacts/logs
- make fpga target=$TARGET 2>&1 | tee artifacts/logs/logfile.log
- make fpga target=$TARGET &> artifacts/logs/logfile.log
- tail -20 artifacts/logs/logfile.log > artifacts/logs/logfile.log.tail
- rm -f artifacts/logs/logfile.log
- mkdir -p artifacts/reports
- mv corev_apu/fpga/work-fpga/ariane_xilinx.bit artifacts/ariane_xilinx_$TARGET.bit
- python3 .gitlab-ci/scripts/report_fpga.py corev_apu/fpga/reports/ariane.utilization.rpt artifacts/logs/logfile.tail
- python3 .gitlab-ci/scripts/report_fpga.py corev_apu/fpga/reports/ariane.utilization.rpt artifacts/logs/logfile.log.tail

.regress_test:
stage: heavy tests
Expand Down

0 comments on commit 9f228c3

Please sign in to comment.