2018-08-02 07:52:04 +08:00
|
|
|
sudo: required
|
|
|
|
|
|
|
|
language: c
|
|
|
|
|
2018-10-09 15:20:41 +08:00
|
|
|
git:
|
|
|
|
depth: false
|
|
|
|
|
2018-08-02 07:52:04 +08:00
|
|
|
services:
|
|
|
|
- docker
|
2018-10-09 15:20:41 +08:00
|
|
|
stages:
|
|
|
|
- compile
|
|
|
|
- test
|
|
|
|
- deploy
|
2018-08-02 07:52:04 +08:00
|
|
|
|
|
|
|
before_install:
|
2018-10-12 13:38:50 +08:00
|
|
|
- docker pull xiulipan/sof && docker tag xiulipan/sof sof
|
|
|
|
- docker pull xiulipan/sofqemu && docker tag xiulipan/sofqemu sofqemu
|
2018-08-02 07:52:04 +08:00
|
|
|
|
2018-10-09 15:20:41 +08:00
|
|
|
jobs:
|
|
|
|
include:
|
2018-11-28 13:34:15 +08:00
|
|
|
- stage: compile
|
|
|
|
name: "Tools Build"
|
|
|
|
script: ./scripts/docker-run.sh ./scripts/build-tools.sh
|
2018-10-09 15:20:41 +08:00
|
|
|
- stage: compile
|
|
|
|
name: "BYT Build"
|
2018-11-03 06:00:52 +08:00
|
|
|
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l byt
|
2018-10-12 13:38:50 +08:00
|
|
|
- stage: compile
|
|
|
|
name: "CHT Build"
|
2018-11-03 06:00:52 +08:00
|
|
|
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l cht
|
2018-10-09 15:20:41 +08:00
|
|
|
- stage: compile
|
|
|
|
name: "BDW Build"
|
2018-11-03 06:00:52 +08:00
|
|
|
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l bdw
|
2018-10-09 15:20:41 +08:00
|
|
|
- stage: compile
|
|
|
|
name: "HSW Build"
|
2018-11-03 06:00:52 +08:00
|
|
|
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l hsw
|
2018-10-09 15:20:41 +08:00
|
|
|
- stage: compile
|
|
|
|
name: "APL Build"
|
2018-11-03 06:00:52 +08:00
|
|
|
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l apl
|
2018-10-09 15:20:41 +08:00
|
|
|
- stage: compile
|
|
|
|
name: "CNL Build"
|
2018-11-03 06:00:52 +08:00
|
|
|
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l cnl
|
2018-10-09 15:20:41 +08:00
|
|
|
- stage: compile
|
|
|
|
name: "SUE Build"
|
2018-11-03 06:00:52 +08:00
|
|
|
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l sue
|
2018-10-09 15:20:41 +08:00
|
|
|
- stage: compile
|
|
|
|
name: "ICL Build"
|
2018-11-03 06:00:52 +08:00
|
|
|
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l icl
|
2018-10-09 15:20:41 +08:00
|
|
|
- stage: compile
|
|
|
|
name: "Host Build"
|
2018-11-28 13:34:15 +08:00
|
|
|
script: ./scripts/docker-run.sh ./scripts/host-build-all.sh -l
|
2018-10-12 13:38:50 +08:00
|
|
|
- stage: test
|
|
|
|
name: "BYT Boot Test"
|
2018-11-03 06:00:52 +08:00
|
|
|
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l byt && ./scripts/docker-qemu.sh ../sof.git/scripts/qemu-check.sh byt
|
2018-10-12 13:38:50 +08:00
|
|
|
- stage: test
|
|
|
|
name: "CHT Boot Test"
|
2018-11-03 06:00:52 +08:00
|
|
|
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l cht && ./scripts/docker-qemu.sh ../sof.git/scripts/qemu-check.sh cht
|
2019-01-11 14:06:20 +08:00
|
|
|
- stage: test
|
|
|
|
name: "BDW Boot Test"
|
|
|
|
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l bdw && ./scripts/docker-qemu.sh ../sof.git/scripts/qemu-check.sh bdw
|
|
|
|
- stage: test
|
|
|
|
name: "HSW Boot Test"
|
|
|
|
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l hsw && ./scripts/docker-qemu.sh ../sof.git/scripts/qemu-check.sh hsw
|
|
|
|
- stage: test
|
|
|
|
name: "APL Boot Test"
|
|
|
|
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l -r apl && ./scripts/docker-qemu.sh ../sof.git/scripts/qemu-check.sh apl
|
2019-01-17 18:57:04 +08:00
|
|
|
- stage: test
|
|
|
|
name: "SKL Boot Test"
|
|
|
|
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l -r skl && ./scripts/docker-qemu.sh ../sof.git/scripts/qemu-check.sh skl
|
|
|
|
- stage: test
|
|
|
|
name: "KBL Boot Test"
|
|
|
|
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l -r kbl && ./scripts/docker-qemu.sh ../sof.git/scripts/qemu-check.sh kbl
|
|
|
|
- stage: test
|
|
|
|
name: "CNL Boot Test"
|
|
|
|
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l -r cnl && ./scripts/docker-qemu.sh ../sof.git/scripts/qemu-check.sh cnl
|
2019-01-11 14:06:20 +08:00
|
|
|
- stage: test
|
|
|
|
name: "ICL Boot Test"
|
|
|
|
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l -r icl && ./scripts/docker-qemu.sh ../sof.git/scripts/qemu-check.sh icl
|