Commit a28742d2 authored by Silke Hofstra's avatar Silke Hofstra

Build in Docker

parent 9c619438
Pipeline #14798 passed with stages
in 6 minutes and 28 seconds
......@@ -9,10 +9,15 @@ cache:
vunit:
stage: test
tags:
- vhdl
- python
image: debian:jessie
before_script:
- apt-get update -qq
- apt-get install -qqy python-pip virtualenv wget gnat-4.9-base libbsd0 libedit2 libgnat-4.9 zlib1g-dev
- wget -nv -O ghdl.deb https://github.com/ghdl/ghdl/releases/download/v0.33/ghdl_0.33-1jessie1_amd64.deb
- dpkg -i ghdl.deb
script:
- ghdl --version
- pip list
- cd vhdl
- bin/ci-run
artifacts:
......@@ -21,7 +26,7 @@ vunit:
report:
stage: typeset
tags: [tex]
image: registry.gitlab.com/silkeh/latex
script:
- cd report
- latexmk -xelatex report
......
......@@ -12,7 +12,7 @@ fi
# Check number of processor cores
which facter &> /dev/null && cores="$(facter processorcount)"
[ -z $cores ] && cores=1
[ -z $cores ] && cores=4
# Run the tests
"$DIR"/vunit -p $cores $@
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment