diff --git a/.travis.yml b/.travis.yml index 100342091..9bdca4d68 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,7 @@ before_install: - yes yes | sudo cpan -fi Unix::Processors Parallel::Forker Bit::Vector - sudo apt-get install gdb gtkwave before_script: + - bash -x ci/build_vcddiff.sh - bash -x ci/build_verilator.sh after_script: - ccache -s diff --git a/ci/build_vcddiff.sh b/ci/build_vcddiff.sh new file mode 100644 index 000000000..eefbf13cd --- /dev/null +++ b/ci/build_vcddiff.sh @@ -0,0 +1,18 @@ +#!/bin/bash +# DESCRIPTION: Verilator: Build script for vcddiff +# +# Copyright 2019 by Todd Strader. This program is free software; you can +# redistribute it and/or modify it under the terms of either the GNU +# Lesser General Public License Version 3 or the Perl Artistic License +# Version 2.0. +set -e + +# NB: it would be better to add this via a PPA + +TMP_DIR=$(mktemp -d) + +git -C ${TMP_DIR} clone https://github.com/veripool/vcddiff +VCDDIFF_DIR=${TMP_DIR}/vcddiff +git -C ${VCDDIFF_DIR} checkout 5112f88b7ba8818dce9dfb72619e64a1fc19542c +make -C ${VCDDIFF_DIR} +sudo cp ${VCDDIFF_DIR}/vcddiff /usr/local/bin