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,18 +31,51 @@ stages: ...@@ -31,18 +31,51 @@ stages:
- synthesis - synthesis
- hardware - hardware
lint-vhdl-libraries: lint-vhdl-lib-base:
tags: tags:
- hdl - hdl
stage: linting stage: linting
allow_failure: true allow_failure: true
before_script: before_script:
- DEBIAN_FRONTEND=noninteractive apt-get update #- DEBIAN_FRONTEND=noninteractive apt-get update
- DEBIAN_FRONTEND=noninteractive apt-get install -y python3 python3-pip python3-ipython #- DEBIAN_FRONTEND=noninteractive apt-get install -y python3 python3-pip python3-ipython
- pip3 install vsg --use-pep517 - pip3 install vsg --use-pep517
script: script:
- cd libraries - cd libraries/base
- find . -name "*.vhd" -exec vsg -f {} \; - 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 {} \;
############################################################################### ###############################################################################
......
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.
Please register or to comment