forked from unikraft/unikraft
-
Notifications
You must be signed in to change notification settings - Fork 0
193 lines (179 loc) · 5.34 KB
/
integration.yaml
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
name: integration
on:
push:
branches: [staging, stable]
paths-ignore: ['*.md']
pull_request:
types: [opened, synchronize, reopened]
branches: [staging]
paths-ignore: ['*.md']
jobs:
libc-test:
name: libc-test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- plat: qemu
arch: x86_64
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Fetch helloworld
uses: actions/checkout@v4
with:
repository: unikraft/app-helloworld
fetch-depth: 1
path: _helloworld
- name: Build and run libc-test via uktest
uses: unikraft/kraftkit@staging
with:
loglevel: debug
workdir: _helloworld
plat: ${{ matrix.plat }}
arch: ${{ matrix.arch }}
execute: true
kraftfile: |
specification: '0.5'
name: helloworld
unikraft:
source: ../
kconfig:
CONFIG_LIBUKTEST: "y"
CONFIG_LIBUKTEST_ALL: "n"
CONFIG_LIBUKTEST_TEST_MYSELF: "n"
CONFIG_LIBUKTEST_LOG_STATS: "y"
CONFIG_LIBUKDEBUG_ANSI_COLOR: "y"
CONFIG_LIBUKDEBUG_PRINTK_INFO: "y"
CONFIG_LIBDEVFS: "y"
CONFIG_LIBDEVFS_DEV_STDOUT: "y"
CONFIG_LIBDEVFS_DEV_NULL_ZERO: "y"
CONFIG_LIBDEVFS_DEV_ZERO: "y"
CONFIG_STACK_SIZE_PAGE_ORDER: 4
libraries:
libc-test:
version: staging
kconfig:
CONFIG_LIBLIBCTEST: "y"
CONFIG_LIBLIBCTEST_STRING_TESTS: "y"
CONFIG_LIBLIBCTEST_PTHREAD_TESTS: "y"
CONFIG_LIBLIBCTEST_CONVERSION_TESTS: "y"
CONFIG_LIBLIBCTEST_REGEX_TESTS: "y"
CONFIG_LIBLIBCTEST_FILE_FOLDER_TESTS: "y"
CONFIG_LIBLIBCTEST_TIME_TESTS: "y"
CONFIG_LIBLIBCTEST_NETWORK_TESTS: "y"
CONFIG_LIBLIBCTEST_SORT_TESTS: "y"
CONFIG_LIBLIBCTEST_STRUCTURE_SEARCH_TESTS: "y"
CONFIG_LIBLIBCTEST_SEMAPHORE_TESTS: "y"
CONFIG_LIBLIBCTEST_RANDOM_TESTS: "y"
CONFIG_LIBLIBCTEST_CRYPT_TESTS: "y"
CONFIG_LIBLIBCTEST_ENV_TESTS: "y"
CONFIG_LIBLIBCTEST_MALLOC_TESTS: "y"
CONFIG_LIBLIBCTEST_TGMATH_TESTS: "y"
CONFIG_LIBLIBCTEST_ICONV_TESTS: "y"
CONFIG_LIBLIBCTEST_UDIV_TESTS: "y"
CONFIG_LIBLIBCTEST_MBFUNC_TESTS: "y"
CONFIG_LIBLIBCTEST_SETJMP_TESTS: "y"
CONFIG_LIBLIBCTEST_FPCLASSIFY_TESTS: "y"
CONFIG_LIBLIBCTEST_POSIX_SPAWN_TESTS: "y"
CONFIG_LIBLIBCTEST_ACCESS_TESTS: "y"
musl:
version: staging
kconfig:
CONFIG_MUSL: "y"
CONFIG_LIBMUSL_COMPLEX: "y"
compiler-rt:
version: staging
targets:
- platform: ${{ matrix.plat }}
architecture: ${{ matrix.arch }}
self-test:
name: self-test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- plat: qemu
arch: x86_64
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Fetch helloworld
uses: actions/checkout@v4
with:
repository: unikraft/app-helloworld
fetch-depth: 1
path: _helloworld
- name: Build and run all internal tests via uktest
uses: unikraft/kraftkit@staging
with:
loglevel: debug
workdir: _helloworld
plat: ${{ matrix.plat }}
arch: ${{ matrix.arch }}
execute: true
kraftfile: |
specification: '0.5'
name: helloworld
unikraft:
source: ../
kconfig:
CONFIG_LIBUKTEST: "y"
CONFIG_LIBUKTEST_ALL: "y"
CONFIG_LIBUKTEST_TEST_MYSELF: "y"
CONFIG_LIBUKDEBUG_ANSI_COLOR: "y"
CONFIG_LIBUKDEBUG_PRINTK_INFO: "y"
CONFIG_LIBUKTEST_FAILFAST: "n"
CONFIG_LIBUKTEST_LOG_STATS: "y"
targets:
- platform: ${{ matrix.plat }}
architecture: ${{ matrix.arch }}
helloworld:
name: helloworld
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- plat: qemu
arch: x86_64
- plat: qemu
arch: arm64
- plat: xen
arch: x86_64
- plat: fc
arch: x86_64
- plat: linuxu
arch: x86_64
- plat: linuxu
arch: arm64
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Fetch helloworld
uses: actions/checkout@v4
with:
repository: unikraft/app-helloworld
fetch-depth: 1
path: _helloworld
- name: Build helloworld
uses: unikraft/kraftkit@staging
with:
loglevel: debug
workdir: _helloworld
execute: false
plat: ${{ matrix.plat }}
arch: ${{ matrix.arch }}
kraftfile: |
specification: '0.5'
name: helloworld
unikraft:
source: ../
targets:
- platform: ${{ matrix.plat }}
architecture: ${{ matrix.arch }}