From 12bb3ebf7c3a56b3868ae4d31c1655f7a087827a Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Sat, 3 Mar 2018 16:41:53 -0800 Subject: [PATCH] travis: Build all the SoCs (without gateware). - TODO: Build the simulator SoC. --- .travis-build-socs.sh | 15 +++++++++++++++ .travis.yml | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100755 .travis-build-socs.sh diff --git a/.travis-build-socs.sh b/.travis-build-socs.sh new file mode 100755 index 000000000..44f943b6a --- /dev/null +++ b/.travis-build-socs.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +set -x +set -e + +source activate litex + +SOC_FILES=$(find litex/boards/targets -name \*.py | grep -v sim | grep -v "__") + +for SOC_FILE in $SOC_FILES; do + SOC=$(echo $SOC_FILE | sed -e's/\.py$//' -e's-/-.-g') + python -m $SOC --no-compile-gateware +done + +find soc_* | sort diff --git a/.travis.yml b/.travis.yml index 822ff36b1..b05a4b566 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,4 +11,4 @@ install: script: - conda env create -f environment.yml - - source activate litex + - ./.travis-build-socs.sh