Skip to content
Snippets Groups Projects
Commit 00faf5c1 authored by Daniel van der Schuur's avatar Daniel van der Schuur
Browse files

-Renamed and grouped stages.

-Added comment blocks.
-Added trigger to OPC UA test based on changed SOF/RBF (.tar.gz) file.
parent eb5ffebc
No related branches found
No related tags found
1 merge request!174Added .gitlab-ci.yml
Pipeline #21037 failed
stages: stages:
- sim-compile - simulation
- sim-simulate - synthesis
- hw-compile - hardware
- hw-check-fmax
- hw-check-programming-files
###############################################################################
sim-compile: # Simulation stage
stage: sim-compile ###############################################################################
compile:
stage: simulation
script: script:
- echo "Compiling for simulation" - echo "Compiling for simulation"
- mkdir build - mkdir build
...@@ -15,27 +17,42 @@ sim-compile: ...@@ -15,27 +17,42 @@ sim-compile:
paths: paths:
- build/ - build/
sim-simulate: run:
stage: sim-simulate stage: simulation
script: script:
- echo "Running simulations" - echo "Running simulations"
- test -f "build/info.txt" - test -f "build/info.txt"
hw-compile:
stage: hw-compile ###############################################################################
# Synthesis stage
###############################################################################
compile:
stage: synthesis
script: script:
- echo "Compiling for hardware" - echo "Compiling for synthesis"
hw-check-fmax: check-fmax:
stage: hw-check-fmax stage: synthesis
script: script:
- echo "Checking achieved fMax" - echo "Checking achieved fMax"
hw-check-programming-files: check-programming-files:
stage: hw-check-programming-files stage: synthesis
script: script:
- echo "Checking if programming files have been generated" - echo "Checking if programming files have been generated"
###############################################################################
# Hardware stage
###############################################################################
trigger-lofar2-opcua-test:
stage: hardware
only:
changes:
- applications/logar2/images/lofar2_unb2b_sdp_station_full.tar.gz
script:
- echo "Found updated programming file. Triggering OPC UA test."
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