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-08-07 21:48:57 +08:00
|
|
|
- docker pull xiulipan/sof
|
2018-08-02 07:52:04 +08:00
|
|
|
|
2018-10-09 15:20:41 +08:00
|
|
|
install:
|
|
|
|
- docker run -it -v `pwd`:/home/sof/work/sof.git --user `id -u` xiulipan/sof ./scripts/rimage-build.sh -l
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- stage: compile
|
|
|
|
name: "BYT Build"
|
|
|
|
script: docker run -it -v `pwd`:/home/sof/work/sof.git --user `id -u` xiulipan/sof ./scripts/xtensa-build-all.sh -lr byt
|
|
|
|
- stage: compile
|
|
|
|
name: "BDW Build"
|
|
|
|
script: docker run -it -v `pwd`:/home/sof/work/sof.git --user `id -u` xiulipan/sof ./scripts/xtensa-build-all.sh -lr bdw
|
|
|
|
- stage: compile
|
|
|
|
name: "HSW Build"
|
|
|
|
script: docker run -it -v `pwd`:/home/sof/work/sof.git --user `id -u` xiulipan/sof ./scripts/xtensa-build-all.sh -lr hsw
|
|
|
|
- stage: compile
|
|
|
|
name: "APL Build"
|
|
|
|
script: docker run -it -v `pwd`:/home/sof/work/sof.git --user `id -u` xiulipan/sof ./scripts/xtensa-build-all.sh -lr apl
|
|
|
|
- stage: compile
|
|
|
|
name: "CNL Build"
|
|
|
|
script: docker run -it -v `pwd`:/home/sof/work/sof.git --user `id -u` xiulipan/sof ./scripts/xtensa-build-all.sh -lr cnl
|
|
|
|
- stage: compile
|
|
|
|
name: "SUE Build"
|
|
|
|
script: docker run -it -v `pwd`:/home/sof/work/sof.git --user `id -u` xiulipan/sof ./scripts/xtensa-build-all.sh -lr sue
|
|
|
|
- stage: compile
|
|
|
|
name: "ICL Build"
|
|
|
|
script: docker run -it -v `pwd`:/home/sof/work/sof.git --user `id -u` xiulipan/sof ./scripts/xtensa-build-all.sh -lr icl
|
|
|
|
- stage: compile
|
|
|
|
name: "Host Build"
|
|
|
|
script: docker run -it -v `pwd`:/home/sof/work/sof.git --user `id -u` xiulipan/sof ./scripts/host-build-all.sh -l
|