Trying to run tests on multiple OS.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
parent
fc736813bd
commit
becb5c84f6
94
.travis.yml
94
.travis.yml
|
@ -1,40 +1,70 @@
|
|||
os: linux
|
||||
dist: focal
|
||||
language: c++
|
||||
language: minimal
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
env:
|
||||
global:
|
||||
- DEBIAN_FRONTEND: noninteractive
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- wget
|
||||
- locales
|
||||
- python3-pip
|
||||
# Testing QuickLogic toolchain on all OSes
|
||||
- TOOLCHAIN=quicklogic OS=ubuntu OS_VERSION=trusty
|
||||
- TOOLCHAIN=quicklogic OS=ubuntu OS_VERSION=xenial
|
||||
- TOOLCHAIN=quicklogic OS=ubuntu OS_VERSION=bionic
|
||||
- TOOLCHAIN=quicklogic OS=ubuntu OS_VERSION=eoan
|
||||
- TOOLCHAIN=quicklogic OS=ubuntu OS_VERSION=focal
|
||||
- TOOLCHAIN=quicklogic OS=centos OS_VERSION=6
|
||||
- TOOLCHAIN=quicklogic OS=centos OS_VERSION=7
|
||||
- TOOLCHAIN=quicklogic OS=centos OS_VERSION=8
|
||||
# Testing Xilinx 7 Series toolchain on all OSes
|
||||
- TOOLCHAIN=xilinx-series-7 OS=ubuntu OS_VERSION=trusty
|
||||
- TOOLCHAIN=xilinx-series-7 OS=ubuntu OS_VERSION=xenial
|
||||
- TOOLCHAIN=xilinx-series-7 OS=ubuntu OS_VERSION=bionic
|
||||
- TOOLCHAIN=xilinx-series-7 OS=ubuntu OS_VERSION=eoan
|
||||
- TOOLCHAIN=xilinx-series-7 OS=ubuntu OS_VERSION=focal
|
||||
- TOOLCHAIN=xilinx-series-7 OS=centos OS_VERSION=6
|
||||
- TOOLCHAIN=xilinx-series-7 OS=centos OS_VERSION=7
|
||||
- TOOLCHAIN=xilinx-series-7 OS=centos OS_VERSION=8
|
||||
|
||||
before_install:
|
||||
- sudo locale-gen "en_US.UTF-8"
|
||||
- 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
|
||||
- tuttest README.rst wget-conda | bash -ex -
|
||||
jobs:
|
||||
include:
|
||||
- stage: SymbiFlow
|
||||
install:
|
||||
- export INSTALL_DIR=$PWD/../opt/symbiflow/xc7
|
||||
- tuttest xc7/README.rst xc7-setup-toolchain | bash -ex -
|
||||
|
||||
script:
|
||||
- export INSTALL_DIR=$PWD/../opt/symbiflow/xc7
|
||||
- tuttest xc7/README.rst xc7-prepare-env,xc7-counter,xc7-picosoc,xc7-litex,xc7-linux | bash -ex -
|
||||
|
||||
- #
|
||||
install:
|
||||
- export INSTALL_DIR=$PWD/../opt/symbiflow/eos-s3
|
||||
- tuttest eos-s3/README.rst eoss3-setup-toolchain | bash -ex -
|
||||
#before_install:
|
||||
# - sudo locale-gen "en_US.UTF-8"
|
||||
# - export LANG="en_US.UTF-8"
|
||||
# - pip install git+https://github.com/antmicro/tuttest
|
||||
# - tuttest README.md unnamed0 | bash -
|
||||
|
||||
script:
|
||||
- export INSTALL_DIR=$PWD/../opt/symbiflow/eos-s3
|
||||
- tuttest eos-s3/README.rst eoss3-prepare-env,eoss3-counter | bash -ex -
|
||||
install:
|
||||
- docker create
|
||||
--name test
|
||||
--env LANG="en_US.UTF-8"
|
||||
--env DEBIAN_FRONTEND="noninteractive"
|
||||
--volume /home/travis
|
||||
--workdir $PWD
|
||||
--interactive
|
||||
--tty
|
||||
$OS:$OS_VERSION
|
||||
- docker start test
|
||||
- docker ps
|
||||
- docker exec test ps fax
|
||||
- docker exec test ls -l
|
||||
- docker exec test pip install git+https://github.com/antmicro/tuttest
|
||||
|
||||
|
||||
script:
|
||||
- true
|
||||
|
||||
#jobs:
|
||||
# include:
|
||||
# - stage: SymbiFlow
|
||||
# install:
|
||||
# - tuttest README.md unnamed1 | bash -
|
||||
#
|
||||
# script:
|
||||
# - tuttest README.md unnamed3 | bash -
|
||||
# - #
|
||||
# install:
|
||||
# - tuttest README.md unnamed2 | bash -
|
||||
#
|
||||
# script:
|
||||
# - tuttest README.md unnamed4 | bash -
|
||||
|
||||
|
|
Loading…
Reference in New Issue