From 14ae7fe48f1d6cdb7459bf7e7cc5b174ddbe3166 Mon Sep 17 00:00:00 2001 From: Stafford Horne Date: Sat, 6 Oct 2018 07:25:20 +0900 Subject: [PATCH] Add travis configs for the sim build Now that sim should build, add some travis configs so we can keep it building. --- .travis.yml | 12 ++++++++++++ scripts/download-env.sh | 7 +++++++ 2 files changed, 19 insertions(+) diff --git a/.travis.yml b/.travis.yml index eaffa27f8..c6896b058 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,8 @@ addons: - python-yaml - realpath - util-linux + - libevent-dev + - libjson-c-dev git: submodules: false @@ -165,3 +167,13 @@ jobs: - stage: Targets env: C=lm32 P=opsis T="hdmi2usb" + + #-------------------------------------------- + # SIM/Verilator Targets + #-------------------------------------------- + - stage: Targets + env: C=or1k P=sim T="base" + + - stage: Targets + env: C=or1k P=sim T="base net" + diff --git a/scripts/download-env.sh b/scripts/download-env.sh index 9684a4c8c..cdb2fde64 100755 --- a/scripts/download-env.sh +++ b/scripts/download-env.sh @@ -261,6 +261,13 @@ case $PLATFORM_TOOLCHAIN in conda install -y $CONDA_FLAGS nextpnr check_exists nextpnr-ice40 ;; + Sim) + # verilator + echo + echo "Installing verilator (Verilog Simulator tool)" + conda install =y $CONDA_FLAGS verilator + check_exists verilator + ;; *) ;; esac