@@ -61,100 +61,3 @@ jobs:
6161 run : printf
6262 ' WARN_AS_ERROR = FAIL_ON_WARNINGS\n' >> doc/sof.doxygen.in &&
6363 ninja -C docbuild -v doc
64-
65-
66- # This is a bit redundant with the other jobs below and with the (much
67- # faster!) installer[.yml] but it may differ in which platforms are
68- # built. This makes sure platforms without any open-source toolchain
69- # are added in the right place and do not accidentally break the -a
70- # option, Docker testing etc.
71- gcc-build-default-platforms :
72- runs-on : ubuntu-22.04
73-
74- steps :
75- - uses : actions/checkout@v4
76- with : {fetch-depth: 0, submodules: recursive, filter: 'tree:0'}
77-
78- - name : docker
79- run : docker pull thesofproject/sof && docker tag thesofproject/sof sof
80-
81- - name : xtensa-build-all.sh -a
82- run : ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -a ||
83- ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -a -j 1
84-
85-
86- gcc-build-only :
87- runs-on : ubuntu-22.04
88-
89- strategy :
90- fail-fast : false
91- matrix :
92- # Use groups to avoid spamming the web interface. Pay attention
93- # to COMMAS. Don't use a single big group so a single failure
94- # does not block all other builds.
95- platform : [rn rmb,
96- mt8186 mt8195 mt8188,
97- ]
98-
99- steps :
100-
101- - uses : actions/checkout@v4
102- with : {fetch-depth: 0, submodules: recursive, filter: 'tree:0'}
103-
104- - name : docker
105- run : docker pull thesofproject/sof && docker tag thesofproject/sof sof
106-
107- - name : xtensa-build-all.sh platforms
108- env :
109- PLATFORM : ${{ matrix.platform }}
110- run : ./scripts/docker-run.sh
111- ./scripts/xtensa-build-all.sh -r ${PLATFORM}
112-
113- # Warning: there is a fair amount of duplication between 'build-only'
114- # and 'qemu-boot' because github does not support YAML anchors as of Jan
115- # 2021. Defining our new actions would be overkill. Another popular
116- # option is to generate this file from a source with YAML anchors
117- # before committing it; also deemed overkill for the current amount of
118- # duplication.
119-
120- qemu-boot-test :
121- runs-on : ubuntu-22.04
122-
123- strategy :
124- fail-fast : false
125- matrix :
126- # Compiler-based groups, see HOST= compilers in
127- # xtensa-build-all.sh. Pay attention to commas and whitespace.
128- # The main reason for these groups is to avoid the matrix
129- # swarming the Github web interface and burying other checks.
130- # See longer example above.
131- platform : [imx8m,
132- ]
133-
134- steps :
135-
136- - uses : actions/checkout@v4
137- with : {fetch-depth: 0, submodules: recursive, filter: 'tree:0'}
138-
139- - name : turn off HAVE_AGENT
140- run : echo CONFIG_HAVE_AGENT=n >
141- src/arch/xtensa/configs/override/no-agent.config
142-
143- - name : docker SOF
144- run : docker pull thesofproject/sof && docker tag thesofproject/sof sof
145-
146- - name : xtensa-build-all.sh -o no-agent platforms
147- env :
148- PLATFORM : ${{ matrix.platform }}
149- run : ./scripts/docker-run.sh
150- ./scripts/xtensa-build-all.sh -o no-agent -r ${PLATFORM}
151-
152- - name : docker QEMU
153- run : docker pull thesofproject/sofqemu &&
154- docker tag thesofproject/sofqemu sofqemu
155-
156- - name : qemu-check
157- env :
158- PLATFORM : ${{ matrix.platform }}
159- run : ./scripts/docker-qemu.sh
160- ../sof.git/scripts/qemu-check.sh ${PLATFORM}
0 commit comments