Skip to content
Snippets Groups Projects
Commit 841d5da8 authored by Pieter Donker's avatar Pieter Donker
Browse files

Update .gitlab-ci.yml file

parent ede096fa
No related branches found
No related tags found
No related merge requests found
Pipeline #49695 passed
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
stages: stages:
- linting - linting
# - simulation # - simulation
# - synthesis # - synthesis
# - hardware # - hardware
...@@ -108,78 +109,5 @@ lint-vhdl-applications-lofar2: ...@@ -108,78 +109,5 @@ lint-vhdl-applications-lofar2:
- cd applications/lofar2 - cd applications/lofar2
- find . -name "*.vhd" -exec vsg -c ../../vsg_config.yaml -f {} \; - find . -name "*.vhd" -exec vsg -c ../../vsg_config.yaml -f {} \;
###############################################################################
# HDL simulation stage
###############################################################################
sim-compile:
tags:
- fpga
stage: simulation
allow_failure: true
script:
- echo "Compiling for simulation"
- mkdir build
- touch build/info.txt
artifacts:
paths:
- build/
sim-run:
tags:
- fpga
stage: simulation
allow_failure: true
script:
- echo "Running simulations"
# - test -f "build/info.txt" # This fails despite having artifact (see
# sim-compile code block where a folder and
# file are generated and preserved by using
# 'artifacts').
###############################################################################
# HDL synthesis stage
###############################################################################
synth-compile:
tags:
- fpga
stage: synthesis
allow_failure: true
script:
- echo "Compiling for synthesis"
synth-check-fmax:
tags:
- fpga
stage: synthesis
allow_failure: true
script:
- echo "Checking achieved fMax"
synth-check-programming-files:
tags:
- fpga
stage: synthesis
allow_failure: true
script:
- echo "Checking if programming files have been generated"
###############################################################################
# Trigger hardware test only on merge request
###############################################################################
trigger-opc-ua-test:
stage: hardware
allow_failure: true
variables:
HDL_BRANCH: '$CI_COMMIT_BRANCH'
only:
changes:
- applications/lofar2/images/lofar2_unb2b_sdp_station_full.tar.gz
# - merge_requests
trigger:
project: LOFAR2.0/sdptr
branch: L2SDP-658 #Point to specific branch when needed. Otherwise comment this out to trigger test in downstream master repo.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment