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-06-09 06:23:39 -04:00
|
|
|
- export INSTALL_DIR=/opt/symbiflow
|
|
|
|
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
|
|
|
|
- bash Miniconda3-latest-Linux-x86_64.sh -b -p $INSTALL_DIR/conda && rm Miniconda3-latest-Linux-x86_64.sh
|
|
|
|
- source $INSTALL_DIR/conda/etc/profile.d/conda.sh
|
|
|
|
- conda update -y -q conda
|
|
|
|
- wget -qO- 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 | tar -xJ -C $INSTALL_DIR
|
|
|
|
- conda install -y -c symbiflow yosys yosys-plugins
|
|
|
|
- conda install -y -c symbiflow -c conda-forge vtr=8.0.0.rc2_3575_g253f75b6d
|
|
|
|
- conda install -y make lxml simplejson intervaltree git pip
|
2020-04-20 11:15:28 -04:00
|
|
|
- conda activate
|
2020-06-09 06:23:39 -04:00
|
|
|
- pip install python-constraint
|
2020-04-20 11:15:28 -04:00
|
|
|
- pip install git+https://github.com/symbiflow/fasm
|
2020-06-09 06:23:39 -04:00
|
|
|
- conda deactivate
|
2020-04-20 11:15:28 -04:00
|
|
|
|
|
|
|
script:
|
2020-06-09 06:23:39 -04:00
|
|
|
- export INSTALL_DIR=/opt/symbiflow
|
|
|
|
- # adding symbiflow toolchain binaries to PATH
|
|
|
|
- export PATH=$INSTALL_DIR/install/bin:$PATH
|
|
|
|
- source $INSTALL_DIR/conda/etc/profile.d/conda.sh
|
|
|
|
- conda activate
|
|
|
|
- git clone https://github.com/SymbiFlow/symbiflow-examples && cd symbiflow-examples
|
|
|
|
- # counter example
|
|
|
|
- pushd counter_test && make && popd
|
|
|
|
- # picosoc example
|
|
|
|
- pushd picosoc_demo && make && popd
|
|
|
|
- # litex example
|
|
|
|
- pushd linux_litex_demo && make && popd
|