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

CWG-44, add linting for vhdl, test1

parent 650cef08
No related branches found
No related tags found
1 merge request!316Resolve CWG-44
Pipeline #46056 canceled
......@@ -31,19 +31,52 @@ stages:
- synthesis
- hardware
lint-vhdl-libraries:
lint-vhdl-lib-base:
tags:
- hdl
stage: linting
allow_failure: true
before_script:
- DEBIAN_FRONTEND=noninteractive apt-get update
- DEBIAN_FRONTEND=noninteractive apt-get install -y python3 python3-pip python3-ipython
#- DEBIAN_FRONTEND=noninteractive apt-get update
#- DEBIAN_FRONTEND=noninteractive apt-get install -y python3 python3-pip python3-ipython
- pip3 install vsg --use-pep517
script:
- cd libraries
- find . -name "*.vhd" -exec vsg -f {} \;
- cd libraries/base
- find . -name "*.vhd" -exec vsg --configuration ~/git/hdl/vsg_config.yaml -f {} \;
lint-vhdl-lib-dsp:
tags:
- hdl
stage: linting
allow_failure: true
before_script:
- pip3 install vsg --use-pep517
script:
- cd libraries/dsp
- find . -name "*.vhd" -exec vsg --configuration ~/git/hdl/vsg_config.yaml -f {} \;
lint-vhdl-lib-io:
tags:
- hdl
stage: linting
allow_failure: true
before_script:
- pip3 install vsg --use-pep517
script:
- cd libraries/io
- find . -name "*.vhd" -exec vsg --configuration ~/git/hdl/vsg_config.yaml -f {} \;
lint-vhdl-lib-technology:
tags:
- hdl
stage: linting
allow_failure: true
before_script:
- pip3 install vsg --use-pep517
script:
- cd libraries/technology
- find . -name "*.vhd" -exec vsg --configuration ~/git/hdl/vsg_config.yaml -f {} \;
###############################################################################
# HDL simulation stage
......
rule:
global:
disable: True
length_001:
disable: False
length: 140
group:
case::keyword:
disable: False
case: 'upper'
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