Update to use named snippets
Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com>
This commit is contained in:
parent
4e1dad1086
commit
3ffea1492c
17
.travis.yml
17
.travis.yml
|
@ -30,7 +30,7 @@ before_install:
|
|||
- export LANG="en_US.UTF-8"
|
||||
- source .github/travis/common.sh
|
||||
- rm README.rst && make README.rst && .github/travis/git-check.sh
|
||||
- pip install git+https://github.com/antmicro/tuttest@prefix-lines-with#egg=tuttest
|
||||
- pip install git+https://github.com/antmicro/tuttest#egg=tuttest
|
||||
|
||||
install:
|
||||
- export DOCKER_NAME=test
|
||||
|
@ -40,18 +40,19 @@ install:
|
|||
--env LANG="en_US.UTF-8"
|
||||
--env LANGUAGE="en_US"
|
||||
--env DEBIAN_FRONTEND="noninteractive"
|
||||
--env INSTALL_DIR=~/opt/symbiflow/
|
||||
-v /home/travis:/home/travis
|
||||
--workdir $PWD
|
||||
--tty
|
||||
$OS:$OS_VERSION
|
||||
- docker start $DOCKER_NAME
|
||||
- if [ "$OS" = "ubuntu" ]; then tuttest README.rst unnamed0 --prefix-lines-with "$IN_DOCKER_EXEC" | bash -; fi
|
||||
- if [ "$OS" = "centos" ]; then tuttest README.rst unnamed1 --prefix-lines-with "$IN_DOCKER_EXEC" | bash -; fi
|
||||
- tuttest README.rst unnamed2 --prefix-lines-with "$IN_DOCKER_EXEC" | bash -
|
||||
- if [ "$TOOLCHAIN" = "xilinx-series-7" ]; then tuttest xc7/README.rst unnamed0 --prefix-lines-with "$IN_DOCKER_EXEC" | bash -; fi
|
||||
- if [ "$TOOLCHAIN" = "quicklogic" ]; then tuttest eos-s3/README.rst unnamed0 --prefix-lines-with "$IN_DOCKER_EXEC" | bash -; fi
|
||||
- if [ "$OS" = "ubuntu" ]; then tuttest README.rst install-wget-ubuntu --prefix-lines-with "$IN_DOCKER_EXEC" | bash -ex -; fi
|
||||
- if [ "$OS" = "centos" ]; then tuttest README.rst install-wget-centos --prefix-lines-with "$IN_DOCKER_EXEC" | bash -ex -; fi
|
||||
- tuttest README.rst wget-conda --prefix-lines-with "$IN_DOCKER_EXEC" | bash -ex -
|
||||
- if [ "$TOOLCHAIN" = "xilinx-series-7" ]; then tuttest xc7/README.rst xc7-setup-toolchain --prefix-lines-with "$IN_DOCKER_EXEC" | bash -ex -; fi
|
||||
- if [ "$TOOLCHAIN" = "quicklogic" ]; then tuttest eos-s3/README.rst eoss3-setup-toolchain --prefix-lines-with "$IN_DOCKER_EXEC" | bash -ex -; fi
|
||||
|
||||
script:
|
||||
- if [ "$TOOLCHAIN" = "xilinx-series-7" ]; then tuttest xc7/README.rst unnamed1,unnamed2,unnamed3,unnamed4,unnamed5 --prefix-lines-with "$IN_DOCKER_EXEC" | bash -; fi
|
||||
- if [ "$TOOLCHAIN" = "quicklogic" ]; then tuttest eos-s3/README.rst unnamed1,unnamed2 --prefix-lines-with "$IN_DOCKER_EXEC" | bash -; fi
|
||||
- if [ "$TOOLCHAIN" = "xilinx-series-7" ]; then tuttest xc7/README.rst xc7-prepare-env,xc7-counter,xc7-picosoc,xc7-litex,xc7-linux --prefix-lines-with "$IN_DOCKER_EXEC" --single-command | bash -ex -; fi
|
||||
- if [ "$TOOLCHAIN" = "quicklogic" ]; then tuttest eos-s3/README.rst eoss3-prepare-env,eoss3-counter --prefix-lines-with "$IN_DOCKER_EXEC" --single-command | bash -ex -; fi
|
||||
|
||||
|
|
|
@ -40,12 +40,14 @@ The only required prerequisite is ``wget``. You can install it using:
|
|||
* For Ubuntu:
|
||||
|
||||
.. code:: bash
|
||||
:name: install-wget-ubuntu
|
||||
|
||||
apt update && apt install -y wget
|
||||
|
||||
* For CentOS:
|
||||
|
||||
.. code:: bash
|
||||
:name: install-wget-centos
|
||||
|
||||
yum install -y wget
|
||||
|
||||
|
@ -99,7 +101,7 @@ and so you will need to add some ``sudo`` commands to the instructions below.
|
|||
source "$INSTALL_DIR/eos-s3/conda/etc/profile.d/conda.sh"
|
||||
conda env create -f eos-s3/environment.yml
|
||||
conda activate eos-s3
|
||||
wget -qO- https://quicklogic-my.sharepoint.com/:u:/p/kkumar/EWuqtXJmalROpI2L5XeewMIBRYVCY8H4yc10nlli-Xq79g?download=1 | tar -xJ -C $INSTALL_DIR
|
||||
wget -qO- https://quicklogic-my.sharepoint.com/:u:/p/kkumar/EWuqtXJmalROpI2L5XeewMIBRYVCY8H4yc10nlli-Xq79g?download=1 | tar -xJ -C $INSTALL_DIR/eos-s3/
|
||||
conda deactivate
|
||||
|
||||
Build Example Designs
|
||||
|
|
|
@ -40,12 +40,14 @@ The only required prerequisite is ``wget``. You can install it using:
|
|||
* For Ubuntu:
|
||||
|
||||
.. code:: bash
|
||||
:name: install-wget-ubuntu
|
||||
|
||||
apt update && apt install -y wget
|
||||
|
||||
* For CentOS:
|
||||
|
||||
.. code:: bash
|
||||
:name: install-wget-centos
|
||||
|
||||
yum install -y wget
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ Choose the installation directory (see the `README <../README.rst>`_ one level u
|
|||
source "$INSTALL_DIR/eos-s3/conda/etc/profile.d/conda.sh"
|
||||
conda env create -f eos-s3/environment.yml
|
||||
conda activate eos-s3
|
||||
wget -qO- https://quicklogic-my.sharepoint.com/:u:/p/kkumar/EWuqtXJmalROpI2L5XeewMIBRYVCY8H4yc10nlli-Xq79g?download=1 | tar -xJ -C $INSTALL_DIR
|
||||
wget -qO- https://quicklogic-my.sharepoint.com/:u:/p/kkumar/EWuqtXJmalROpI2L5XeewMIBRYVCY8H4yc10nlli-Xq79g?download=1 | tar -xJ -C $INSTALL_DIR/eos-s3/
|
||||
conda deactivate
|
||||
|
||||
.. toolchain_include_end_label
|
||||
|
|
Loading…
Reference in New Issue