mirror of
https://github.com/chipsalliance/f4pga-examples.git
synced 2025-01-03 03:43:38 -05:00
ci: Remove Travis config
Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
This commit is contained in:
parent
dab8d997be
commit
a9ae44dea2
2 changed files with 0 additions and 66 deletions
11
.github/scripts/common.sh
vendored
11
.github/scripts/common.sh
vendored
|
@ -9,22 +9,11 @@ NC='\033[0m' # No Color
|
||||||
|
|
||||||
SPACER="echo -e ${GRAY} - ${NC}"
|
SPACER="echo -e ${GRAY} - ${NC}"
|
||||||
|
|
||||||
export -f travis_nanoseconds
|
|
||||||
export -f travis_fold
|
|
||||||
export -f travis_time_start
|
|
||||||
export -f travis_time_finish
|
|
||||||
export -f travis_wait
|
|
||||||
export -f travis_jigger
|
|
||||||
|
|
||||||
function start_section() {
|
function start_section() {
|
||||||
travis_fold start "$1"
|
|
||||||
travis_time_start
|
|
||||||
echo -e "${PURPLE}${1}${NC}: $2${NC}"
|
echo -e "${PURPLE}${1}${NC}: $2${NC}"
|
||||||
echo -e "${GRAY}-------------------------------------------------------------------${NC}"
|
echo -e "${GRAY}-------------------------------------------------------------------${NC}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function end_section() {
|
function end_section() {
|
||||||
echo -e "${GRAY}-------------------------------------------------------------------${NC}"
|
echo -e "${GRAY}-------------------------------------------------------------------${NC}"
|
||||||
travis_time_finish
|
|
||||||
travis_fold end "$1"
|
|
||||||
}
|
}
|
||||||
|
|
55
.travis.yml
55
.travis.yml
|
@ -1,55 +0,0 @@
|
||||||
os: linux
|
|
||||||
dist: focal
|
|
||||||
language: minimal
|
|
||||||
|
|
||||||
services:
|
|
||||||
- docker
|
|
||||||
|
|
||||||
env:
|
|
||||||
# Testing QuickLogic toolchain on all OSes
|
|
||||||
- TOOLCHAIN=eos-s3 OS=ubuntu OS_VERSION=xenial
|
|
||||||
- TOOLCHAIN=eos-s3 OS=ubuntu OS_VERSION=bionic
|
|
||||||
- TOOLCHAIN=eos-s3 OS=ubuntu OS_VERSION=eoan
|
|
||||||
- TOOLCHAIN=eos-s3 OS=ubuntu OS_VERSION=focal
|
|
||||||
- TOOLCHAIN=eos-s3 OS=centos OS_VERSION=7
|
|
||||||
- TOOLCHAIN=eos-s3 OS=centos OS_VERSION=8
|
|
||||||
# Testing Xilinx 7 Series toolchain on all OSes
|
|
||||||
- TOOLCHAIN=xc7 OS=ubuntu OS_VERSION=xenial
|
|
||||||
- TOOLCHAIN=xc7 OS=ubuntu OS_VERSION=bionic
|
|
||||||
- TOOLCHAIN=xc7 OS=ubuntu OS_VERSION=eoan
|
|
||||||
- TOOLCHAIN=xc7 OS=ubuntu OS_VERSION=focal
|
|
||||||
- TOOLCHAIN=xc7 OS=centos OS_VERSION=7
|
|
||||||
- TOOLCHAIN=xc7 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
|
|
||||||
# Get tuttest and setup a docker container to run the test in.
|
|
||||||
- pip install git+https://github.com/antmicro/tuttest#egg=tuttest
|
|
||||||
- export DOCKER_NAME=test
|
|
||||||
- export IN_DOCKER_EXEC="docker exec -t $DOCKER_NAME bash -ex -c"
|
|
||||||
- docker create
|
|
||||||
--name $DOCKER_NAME
|
|
||||||
--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
|
|
||||||
|
|
||||||
install:
|
|
||||||
# Check the top level README file is up to date.
|
|
||||||
- rm README.rst && make README.rst && .github/travis/git-check.sh
|
|
||||||
# Install the toolchain into the docker container.
|
|
||||||
- tuttest README.rst install-wget-${OS} | ${IN_DOCKER_EXEC} "$(cat /dev/stdin)"
|
|
||||||
- tuttest README.rst wget-conda | ${IN_DOCKER_EXEC} "$(cat /dev/stdin)"
|
|
||||||
- tuttest ${TOOLCHAIN}/README.rst ${TOOLCHAIN}-setup-toolchain | ${IN_DOCKER_EXEC} "$(cat /dev/stdin)"
|
|
||||||
|
|
||||||
script:
|
|
||||||
# Run the tests inside the docker container.
|
|
||||||
- if [ "$TOOLCHAIN" = "xc7" ]; then EXTRA_TESTS=,xc7-picosoc; fi
|
|
||||||
- tuttest ${TOOLCHAIN}/README.rst ${TOOLCHAIN}-prepare-env,${TOOLCHAIN}-counter${EXTRA_TESTS} | ${IN_DOCKER_EXEC} "$(cat /dev/stdin)"
|
|
Loading…
Reference in a new issue