-
Notifications
You must be signed in to change notification settings - Fork 48
132 lines (121 loc) · 3.25 KB
/
default.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
name: Mimiker
on:
push:
branches:
- master
pull_request:
branches:
- master
concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
verify_c_style:
name: Verify C code style
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- run: ./verify-format.sh
verify_py_style:
name: Verify Python code style
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- run: ./verify-pycodestyle.sh
build_mips:
name: Build MIPS
runs-on: self-hosted
needs: [verify_c_style, verify_py_style]
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- run: make BOARD=malta KASAN=1 LOCKDEP=1
- uses: actions/upload-artifact@v3
with:
name: "mips kernel+ramdisk"
path: |
sys/mimiker.elf
sys/mimiker.elf.map
bin/*/*.uelf
usr.bin/*/*.uelf
initrd.cpio
build_aarch64:
name: Build AArch64
runs-on: self-hosted
needs: [verify_c_style, verify_py_style]
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- run: make BOARD=rpi3 KASAN=1 LOCKDEP=1
- uses: actions/upload-artifact@v3
with:
name: "aarch64 kernel+ramdisk"
path: |
sys/mimiker.elf
sys/mimiker.img.gz
sys/mimiker.elf.map
bin/*/*.uelf
usr.bin/*/*.uelf
sys/dts/*.dtb
initrd.cpio
build_riscv32:
name: Build RISC-V 32-bit
runs-on: self-hosted
needs: [verify_c_style, verify_py_style]
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- run: make BOARD=litex-riscv KASAN=1 LOCKDEP=1
build_riscv64:
name: Build RISC-V 64-bit
runs-on: self-hosted
needs: [verify_c_style, verify_py_style]
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- run: make BOARD=sifive_u KASAN=1 LOCKDEP=1
- uses: actions/upload-artifact@v3
with:
name: "riscv64 kernel+ramdisk"
path: |
sys/mimiker.elf
sys/mimiker.elf.map
bin/*/*.uelf
usr.bin/*/*.uelf
initrd.cpio
kernel_tests_mips:
name: Tests MIPS
runs-on: self-hosted
needs: build_mips
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: "mips kernel+ramdisk"
- run: ./run_tests.py --board malta --timeout=100 --times=50
kernel_tests_aarch64:
name: Tests AArch64
runs-on: self-hosted
needs: build_aarch64
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: "aarch64 kernel+ramdisk"
- run: ./run_tests.py --board rpi3 --timeout=60 --times=50
kernel_tests_riscv64:
name: Tests RISC-V 64-bit
runs-on: self-hosted
needs: build_riscv64
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: "riscv64 kernel+ramdisk"
- run: ./run_tests.py --board sifive_u --timeout=100 --times=50