forked from thesofproject/sof
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (58 loc) · 1.64 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
sudo: required
language: c
git:
depth: false
services:
- docker
stages:
- test
- qemutest
before_install:
- docker pull thesofproject/sof && docker tag thesofproject/sof sof
env:
- PLATFORM=byt
- PLATFORM=cht
- PLATFORM=bdw
- PLATFORM=hsw
- PLATFORM=apl
- PLATFORM=skl
- PLATFORM=kbl
- PLATFORM=cnl
- PLATFORM=sue
- PLATFORM=icl
- PLATFORM=jsl
- PLATFORM=imx8
script: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -j $PLATFORM
jobs:
include:
- stage: test
script: ./scripts/docker-run.sh ./scripts/build-tools.sh
env: PLATFORM=tools
# Matrix hack: Declare the same stage name multiple times to test multiple
# versions. Use a YAML alias to prevent redundancy.
- &qemuboottest
stage: qemutest
script:
- sed -i $(($(grep "config HAVE_AGENT" -n src/platform/Kconfig | cut -f1 -d:)+2))"s/default y/default n/" src/platform/Kconfig
- ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -r -j $PLATFORM
- ./scripts/docker-qemu.sh ../sof.git/scripts/qemu-check.sh $PLATFORM
env: PLATFORM=byt
before_install:
- docker pull thesofproject/sof && docker tag thesofproject/sof sof
- docker pull thesofproject/sofqemu && docker tag thesofproject/sofqemu sofqemu
- <<: *qemuboottest
env: PLATFORM=cht
- <<: *qemuboottest
env: PLATFORM=bdw
- <<: *qemuboottest
env: PLATFORM=hsw
- <<: *qemuboottest
env: PLATFORM=apl
- <<: *qemuboottest
env: PLATFORM=skl
- <<: *qemuboottest
env: PLATFORM=kbl
- <<: *qemuboottest
env: PLATFORM=cnl
- <<: *qemuboottest
env: PLATFORM=icl