File tree 1 file changed +53
-0
lines changed
1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : adsp linux build test
2
+ run-name : ${{ github.actor }} pushed a change ( ${{ github.sha }} )
3
+ on : [push]
4
+ jobs :
5
+ build :
6
+ name : ${{ matrix.boards.name }}
7
+ runs-on : ubuntu-latest
8
+ strategy :
9
+ matrix :
10
+ boards :
11
+ [
12
+ {
13
+ " name " : " sc598" ,
14
+ " config " : " sc598-som-ezkit_defconfig" ,
15
+ " cross_compile " : " aarch64-linux-gnu" ,
16
+ " arch " : " arm64"
17
+ },
18
+ {
19
+ " name " : " sc594" ,
20
+ " config " : " sc594-som-ezkit_defconfig" ,
21
+ " cross_compile " : " arm-linux-gnueabi" ,
22
+ " arch " : " arm"
23
+ },
24
+ {
25
+ " name " : " sc589" ,
26
+ " config " : " sc589-ezkit_defconfig" ,
27
+ " cross_compile " : " arm-linux-gnueabi" ,
28
+ " arch " : " arm"
29
+ },
30
+ {
31
+ " name " : " sc584" ,
32
+ " config " : " sc584-ezkit_defconfig" ,
33
+ " cross_compile " : " arm-linux-gnueabi" ,
34
+ " arch " : " arm"
35
+ },
36
+ {
37
+ " name " : " sc573" ,
38
+ " config " : " sc573-ezkit_defconfig" ,
39
+ " cross_compile " : " arm-linux-gnueabi" ,
40
+ " arch " : " arm"
41
+ }
42
+ ]
43
+ steps :
44
+ - name : Setup toolchain
45
+ run : |
46
+ sudo apt-get update && sudo apt-get install gcc-${{ matrix.boards.cross_compile }}
47
+ - name : Check out repository code
48
+ uses : actions/checkout@v4
49
+ - name : Build ${{ matrix.boards.name }}
50
+ run : |
51
+ make ARCH=${{ matrix.boards.arch }} ${{ matrix.boards.config }}
52
+ make ARCH=${{ matrix.boards.arch }} CROSS_COMPILE=${{ matrix.boards.cross_compile }}- -j$(nproc)
53
+
You can’t perform that action at this time.
0 commit comments