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: ...@@ -9,10 +9,15 @@ cache:
vunit: vunit:
stage: test stage: test
tags: image: debian:jessie
- vhdl before_script:
- python - 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: script:
- ghdl --version
- pip list
- cd vhdl - cd vhdl
- bin/ci-run - bin/ci-run
artifacts: artifacts:
...@@ -21,7 +26,7 @@ vunit: ...@@ -21,7 +26,7 @@ vunit:
report: report:
stage: typeset stage: typeset
tags: [tex] image: registry.gitlab.com/silkeh/latex
script: script:
- cd report - cd report
- latexmk -xelatex report - latexmk -xelatex report
......
...@@ -12,7 +12,7 @@ fi ...@@ -12,7 +12,7 @@ fi
# Check number of processor cores # Check number of processor cores
which facter &> /dev/null && cores="$(facter processorcount)" which facter &> /dev/null && cores="$(facter processorcount)"
[ -z $cores ] && cores=1 [ -z $cores ] && cores=4
# Run the tests # Run the tests
"$DIR"/vunit -p $cores $@ "$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