Skip to content

CI Tool Integration

Lars Asplund edited this page May 23, 2019 · 1 revision

Overview

The purpose of this page is for users to provide examples on how they've integrated VUnit with CI tools.

Travis

An example of Travis integration can be found here

Appveyor

An example of Appveyor integration can be found here

Gitlab

Here is an example of a .yml file for Gitlab integration

image: debian:stretch
build:
  stage: build
  before_script:
    - apt-get update
    - apt-get install -y curl gnat python3 python3-pip
    - mkdir ghdl
    - curl -L https://github.com/ghdl/ghdl/releases/download/20181129/ghdl-20181129-stretch-mcode.tgz | tar xz -C ghdl
    - pip3 install vunit-hdl
  script:
    - export PATH=$PATH:./ghdl/bin
    - export VUNIT_SIMULATOR=ghdl
    - python3 ./run.py -x ./report.xml
  artifacts:
    reports:
      junit: ./report.xml
    paths:
      - ./report.xml
Clone this wiki locally