From: Tim 'mithro' Ansell Date: Sun, 4 Mar 2018 00:41:53 +0000 (-0800) Subject: travis: Build all the SoCs (without gateware). X-Git-Tag: 24jan2021_ls180~1724^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=12bb3ebf7c3a56b3868ae4d31c1655f7a087827a;p=litex.git travis: Build all the SoCs (without gateware). - TODO: Build the simulator SoC. --- diff --git a/.travis-build-socs.sh b/.travis-build-socs.sh new file mode 100755 index 00000000..44f943b6 --- /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 822ff36b..b05a4b56 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