caravel/.travis.yml

109 lines
4.3 KiB
YAML
Raw Normal View History

2021-12-17 13:55:08 -06:00
# SPDX-FileCopyrightText: 2020 Efabless Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0
language: python
branches:
only:
- develop
- master
- fix_gpio
- /^(?i:develop)-.*$/
services:
- docker
os:
- linux
notifications:
slack: efabless-team:XAEJOuCet9xQ14EEIO0nNufd
env:
global:
- OPENLANE_TAG=v0.20
stages:
- commit-compliance
- test
jobs:
include:
- name: "The README.rst Consistency Test"
stage: commit-compliance
script: bash .travisCI/base_checks/git-check.sh
- name: "The Manifest Test"
stage: commit-compliance
script: bash .travisCI/base_checks/manifest-check.sh
- name: "The Caravel LVS Test"
stage: test
install: bash .travisCI/utils/bash_run_wrapper.sh .travisCI/utils/pdkBuild.sh
script: bash .travisCI/utils/bash_run_wrapper.sh ".travisCI/lvs/lvs-check.sh caravel"
- name: "The Caravan LVS Test"
stage: test
install: bash .travisCI/utils/bash_run_wrapper.sh .travisCI/utils/pdkBuild.sh
script: bash .travisCI/utils/bash_run_wrapper.sh ".travisCI/lvs/lvs-check.sh caravan"
- name: "The chio_io LVS Test"
stage: test
install: bash .travisCI/utils/bash_run_wrapper.sh .travisCI/utils/pdkBuild.sh
script: bash .travisCI/utils/bash_run_wrapper.sh ".travisCI/lvs/lvs-check.sh chip_io"
- name: "The chip_io_alt LVS Test"
stage: test
install: bash .travisCI/utils/bash_run_wrapper.sh .travisCI/utils/pdkBuild.sh
script: bash .travisCI/utils/bash_run_wrapper.sh ".travisCI/lvs/lvs-check.sh chip_io_alt"
- name: "The mgmt_core LVS Test"
stage: test
install: bash .travisCI/utils/bash_run_wrapper.sh .travisCI/utils/pdkBuild.sh
script: bash .travisCI/utils/bash_run_wrapper.sh ".travisCI/lvs/lvs-check.sh mgmt_core"
- name: "The Rest of the Blocks LVS Test"
stage: test
install: bash .travisCI/utils/bash_run_wrapper.sh .travisCI/utils/pdkBuild.sh
script: bash .travisCI/utils/bash_run_wrapper.sh ".travisCI/lvs/lvs-check.sh all"
# - name: "The Caravel MAGLEF LVS Test"
# stage: test
# install: sh .travisCI/utils/bash_run_wrapper.sh .travisCI/utils/pdkBuild.sh
# script: bash .travisCI/lvs/maglef-lvs-check.sh
- name: "The GDS Pointers Test"
stage: test
script: bash .travisCI/base_checks/gds-pointers.sh
- name: "The mgmt_soc DV Test: Set 1"
stage: test
if: branch = master OR type=cron
install: bash .travisCI/utils/bash_run_wrapper.sh .travisCI/utils/pdkBuild.sh
script: bash .travisCI/dv/dv-check-wrapper.sh mgmt_soc 1
- name: "The mgmt_soc DV Test: Set 2"
stage: test
if: branch = master OR type=cron
install: bash .travisCI/utils/bash_run_wrapper.sh .travisCI/utils/pdkBuild.sh
script: bash .travisCI/dv/dv-check-wrapper.sh mgmt_soc 2
- name: "The mgmt_soc DV Test: Set 3"
stage: test
if: branch = master OR type=cron
install: bash .travisCI/utils/bash_run_wrapper.sh .travisCI/utils/pdkBuild.sh
script: bash .travisCI/dv/dv-check-wrapper.sh mgmt_soc 3
- name: "The mgmt_soc DV Test: Set 4"
stage: test
if: branch = master OR type=cron
install: bash .travisCI/utils/bash_run_wrapper.sh .travisCI/utils/pdkBuild.sh
script: bash .travisCI/dv/dv-check-wrapper.sh mgmt_soc 4
- name: "The mgmt_soc DV Test: Set 5"
stage: test
if: branch = master OR type=cron
install: bash .travisCI/utils/bash_run_wrapper.sh .travisCI/utils/pdkBuild.sh
script: bash .travisCI/dv/dv-check-wrapper.sh mgmt_soc 5
- name: "The wb_utests DV Test"
stage: test
if: branch = master OR type=cron
install: bash .travisCI/utils/bash_run_wrapper.sh .travisCI/utils/pdkBuild.sh
script: bash .travisCI/dv/dv-check-wrapper.sh wb_utests 1