1
0
mirror of https://github.com/antonblanchard/chiselwatt.git synced 2026-01-11 23:53:33 +00:00
Carlos de Paula c06e4697dc Restructured Makefile and Readme for multi-boards
Added a couple of improvements to the Makefile and Readme:

* Restructured the Makefile to support multiple boards based on variable
* Verilator build is also done in Docker container with local option
* Restructured Readme to reflect changes in the Makefile
* Support for running the verilator chiselwatt binary in a Docker
container in case the OS is not Linux.

Signed-off-by: Carlos de Paula <me@carlosedp.com>
2020-03-25 11:29:51 -03:00

11 lines
491 B
YAML

language: minimal
install: skip
services: docker
before_install: docker pull verilator/verilator:latest
script:
# Unset the VERILATOR variable so the container won't fail when running inside another container in Travis
docker run --rm -t -v `pwd`:/build -w /build --entrypoint /bin/bash verilator/verilator:latest -c "apt update && apt install -y default-jre-headless python3-pexpect curl && make VERILATOR= && make VERILATOR= check && ./scripts/test_micropython_long.py"