sof/.travis.yml

57 lines
1.8 KiB
YAML

sudo: required
language: c
git:
depth: false
services:
- docker
stages:
- compile
- test
- deploy
before_install:
- docker pull xiulipan/sof && docker tag xiulipan/sof sof
- docker pull xiulipan/sofqemu && docker tag xiulipan/sofqemu sofqemu
jobs:
include:
- stage: compile
name: "Tools Build"
script: ./scripts/docker-run.sh ./scripts/build-tools.sh
- stage: compile
name: "BYT Build"
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l byt
- stage: compile
name: "CHT Build"
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l cht
- stage: compile
name: "BDW Build"
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l bdw
- stage: compile
name: "HSW Build"
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l hsw
- stage: compile
name: "APL Build"
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l apl
- stage: compile
name: "CNL Build"
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l cnl
- stage: compile
name: "SUE Build"
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l sue
- stage: compile
name: "ICL Build"
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l icl
- stage: compile
name: "Host Build"
script: ./scripts/docker-run.sh ./scripts/host-build-all.sh -l
- stage: test
name: "BYT Boot Test"
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l byt && ./scripts/docker-qemu.sh ../sof.git/scripts/qemu-check.sh byt
- stage: test
name: "CHT Boot Test"
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l cht && ./scripts/docker-qemu.sh ../sof.git/scripts/qemu-check.sh cht