forked from multipath-tcp/mptcp_net-next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cirrus.yml
59 lines (52 loc) · 1.5 KB
/
.cirrus.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
# Launch 2 jobs in //: with and without debug
task:
name: KVM validation
only_if: $CIRRUS_TAG != '' ## only tags
auto_cancellation: $CIRRUS_TAG == ''
timeout_in: 120m
container:
image: mptcp/mptcp-upstream-virtme-docker:latest
kvm: true ## Needed for the tests
cpu: 2 ## Max 16 per project, even number with kvm
memory: 8G ## Max 4 per CPU
env:
CIRRUS_CLONE_DEPTH: 1 ## no need to have a full clone
CIRRUS_LOG_TIMESTAMP: true ## useful
INPUT_CCACHE_MAXSIZE: 1G
matrix:
MATRIX_JOB: normal
MATRIX_JOB: debug
matrix:
INPUT_RUN_TESTS_EXCEPT: selftest_mptcp_join
INPUT_RUN_TESTS_ONLY: selftest_mptcp_join
ccache_cache:
folder: ".virtme/ccache"
reupload_on_changes: true
fingerprint_script: echo ${MATRIX_JOB}-${CIRRUS_TAG%/*}
test_script: /entrypoint.sh expect-${MATRIX_JOB}
on_failure:
vmlinux_artifacts:
path: "vmlinux.zstd"
kmemleak_artifacts:
path: "kmemleak.txt"
type: text/plain
always:
conclusion_artifacts:
path: "conclusion.txt"
type: text/plain
summary_artifacts:
path: "summary.txt"
type: text/plain
tap_result_artifacts:
path: "*.tap"
type: text/plain
upload_caches:
- ccache
kconfig_artifacts:
path: "config.zstd"
type: text/plain
# JUnit format is for the moment only useful for PR but publish them just in case for later
junit_artifacts:
path: "*.tap.xml"
type: text/xml
format: junit