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
|
os: linux
|
||||||
dist: focal
|
dist: focal
|
||||||
language: c++
|
language: minimal
|
||||||
|
|
||||||
|
services:
|
||||||
|
- docker
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
# Testing QuickLogic toolchain on all OSes
|
||||||
- DEBIAN_FRONTEND: noninteractive
|
- TOOLCHAIN=quicklogic OS=ubuntu OS_VERSION=trusty
|
||||||
addons:
|
- TOOLCHAIN=quicklogic OS=ubuntu OS_VERSION=xenial
|
||||||
apt:
|
- TOOLCHAIN=quicklogic OS=ubuntu OS_VERSION=bionic
|
||||||
packages:
|
- TOOLCHAIN=quicklogic OS=ubuntu OS_VERSION=eoan
|
||||||
- wget
|
- TOOLCHAIN=quicklogic OS=ubuntu OS_VERSION=focal
|
||||||
- locales
|
- TOOLCHAIN=quicklogic OS=centos OS_VERSION=6
|
||||||
- python3-pip
|
- 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 -
|
|
||||||
|
|
||||||
- #
|
#before_install:
|
||||||
install:
|
# - sudo locale-gen "en_US.UTF-8"
|
||||||
- export INSTALL_DIR=$PWD/../opt/symbiflow/eos-s3
|
# - export LANG="en_US.UTF-8"
|
||||||
- tuttest eos-s3/README.rst eoss3-setup-toolchain | bash -ex -
|
# - pip install git+https://github.com/antmicro/tuttest
|
||||||
|
# - tuttest README.md unnamed0 | bash -
|
||||||
|
|
||||||
script:
|
install:
|
||||||
- export INSTALL_DIR=$PWD/../opt/symbiflow/eos-s3
|
- docker create
|
||||||
- tuttest eos-s3/README.rst eoss3-prepare-env,eoss3-counter | bash -ex -
|
--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