f4pga-examples/.travis.yml

33 lines
1.4 KiB
YAML

os: linux
dist: bionic
language: c++
before_install:
- export DEBIAN_FRONTEND=noninteractive
install:
- sudo apt-get update && sudo apt-get install -y wget locales
- sudo locale-gen "en_US.UTF-8"
- export LANG="en_US.UTF-8"
- 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