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
|
|
|
|
2020-06-09 15:51:04 -04:00
|
|
|
stages:
|
|
|
|
- xc7
|
|
|
|
|
2020-04-20 11:15:28 -04:00
|
|
|
before_install:
|
|
|
|
- sudo locale-gen "en_US.UTF-8"
|
|
|
|
- export LANG="en_US.UTF-8"
|
2020-06-09 15:51:04 -04:00
|
|
|
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O conda_installer.sh
|
2020-04-22 07:00:30 -04:00
|
|
|
|
2020-06-09 15:51:04 -04:00
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- stage: SymbiFlow
|
|
|
|
env:
|
|
|
|
- INSTALL_DIR: /opt/symbiflow/xc7
|
|
|
|
install:
|
|
|
|
- bash conda_installer.sh -b -p $INSTALL_DIR/conda && rm conda_installer.sh
|
|
|
|
- source "$INSTALL_DIR/conda/etc/profile.d/conda.sh"
|
2020-06-09 06:23:39 -04:00
|
|
|
- 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
|
2020-06-09 09:53:59 -04:00
|
|
|
- conda install -y -c symbiflow yosys yosys-plugins vtr-no-gui
|
2020-06-09 06:23:39 -04:00
|
|
|
- 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-06-09 15:51:04 -04:00
|
|
|
script:
|
|
|
|
- source "$INSTALL_DIR/conda/etc/profile.d/conda.sh"
|
2020-06-09 06:23:39 -04:00
|
|
|
- export PATH=$INSTALL_DIR/install/bin:$PATH
|
|
|
|
- conda activate
|
2020-06-09 15:51:04 -04:00
|
|
|
- pushd examples/xc7/counter_test && make && popd
|
|
|
|
- pushd examples/xc7/picosoc_demo && make && popd
|
|
|
|
- pushd examples/xc7/linux_litex_demo && make && popd
|