Skip to content

Commit

Permalink
Add travis configs for the sim build
Browse files Browse the repository at this point in the history
Now that sim should build, add some travis configs so we can keep it
building.
  • Loading branch information
stffrdhrn committed Oct 7, 2018
1 parent b9d27ec commit 15ed903
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ addons:
- python-yaml
- realpath
- util-linux
- libevent-dev
- libjson-c-dev

git:
submodules: false
Expand Down Expand Up @@ -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"

7 changes: 7 additions & 0 deletions scripts/download-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 15ed903

Please sign in to comment.