2020-04-20 11:15:28 -04:00
|
|
|
os: linux
|
|
|
|
dist: bionic
|
|
|
|
language: c++
|
2020-04-22 07:00:30 -04:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- DEBIAN_FRONTEND: noninteractive
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- wget
|
|
|
|
- locales
|
2020-04-20 11:15:28 -04:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
- sudo locale-gen "en_US.UTF-8"
|
|
|
|
- export LANG="en_US.UTF-8"
|
2020-04-22 07:00:30 -04:00
|
|
|
|
|
|
|
install:
|
2020-04-20 11:15:28 -04:00
|
|
|
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
|
|
|
|
- bash miniconda.sh -b -p $HOME/miniconda
|
|
|
|
- source "$HOME/miniconda/etc/profile.d/conda.sh"
|
|
|
|
- hash -r
|
|
|
|
- conda config --set always_yes yes --set changeps1 no
|
|
|
|
- conda config --add channels conda-forge
|
|
|
|
- conda config --add channels symbiflow
|
|
|
|
- conda update -q conda
|
|
|
|
- conda activate
|
|
|
|
- conda install -c symbiflow yosys
|
|
|
|
- conda install -c symbiflow yosys-plugins
|
|
|
|
- conda install -c symbiflow vtr=8.0.0.rc2_3575_g253f75b6d
|
|
|
|
- conda install lxml simplejson intervaltree python-constraint git pip
|
|
|
|
- pip install git+https://github.com/symbiflow/fasm
|
|
|
|
- wget "https://storage.googleapis.com/symbiflow-arch-defs/artifacts/prod/foss-fpga-tools/symbiflow-arch-defs/continuous/install/4/20200416-002215/symbiflow-arch-defs-install-a321d9d9.tar.xz"
|
|
|
|
|
|
|
|
script:
|
|
|
|
- tar -xf symbiflow-arch-defs-install-a321d9d9.tar.xz
|
|
|
|
- export PATH=$TRAVIS_BUILD_DIR/install/bin:$PATH
|
|
|
|
- cd $TRAVIS_BUILD_DIR/counter_test
|
|
|
|
- make
|
2020-04-22 07:00:30 -04:00
|
|
|
- cd $TRAVIS_BUILD_DIR/picosoc_demo
|
|
|
|
- make
|
|
|
|
- cd $TRAVIS_BUILD_DIR/linux_litex_demo
|
|
|
|
- make
|