forked from rhdrjones/kvm-unit-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
82 lines (74 loc) · 2.62 KB
/
.gitlab-ci.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
image: fedora:30
before_script:
- dnf update -y
- dnf install -y make python
build-aarch64:
script:
- dnf install -y qemu-system-aarch64 gcc-aarch64-linux-gnu
- ./configure --arch=aarch64 --cross-prefix=aarch64-linux-gnu-
- make -j2
- ACCEL=tcg ./run_tests.sh
selftest-setup selftest-vectors-kernel selftest-vectors-user selftest-smp
pci-test pmu gicv2-active gicv3-active psci timer
| tee results.txt
- if grep -q FAIL results.txt ; then exit 1 ; fi
build-arm:
script:
- dnf install -y qemu-system-arm gcc-arm-linux-gnu-8.2.1-1.fc30.2
- ./configure --arch=arm --cross-prefix=arm-linux-gnu-
- make -j2
- ACCEL=tcg ./run_tests.sh
selftest-setup selftest-vectors-kernel selftest-vectors-user selftest-smp
pci-test pmu gicv2-active gicv3-active psci
| tee results.txt
- if grep -q FAIL results.txt ; then exit 1 ; fi
build-ppc64be:
script:
- dnf install -y qemu-system-ppc gcc-powerpc64-linux-gnu
- ./configure --arch=ppc64 --endian=big --cross-prefix=powerpc64-linux-gnu-
- make -j2
- ACCEL=tcg ./run_tests.sh
selftest-setup spapr_hcall rtas-get-time-of-day rtas-get-time-of-day-base
rtas-set-time-of-day emulator
| tee results.txt
- if grep -q FAIL results.txt ; then exit 1 ; fi
build-ppc64le:
script:
- dnf install -y qemu-system-ppc gcc-powerpc64-linux-gnu
- ./configure --arch=ppc64 --endian=little --cross-prefix=powerpc64-linux-gnu-
- make -j2
- ACCEL=tcg ./run_tests.sh
selftest-setup spapr_hcall rtas-get-time-of-day rtas-get-time-of-day-base
rtas-set-time-of-day emulator
| tee results.txt
- if grep -q FAIL results.txt ; then exit 1 ; fi
build-s390x:
script:
- dnf install -y qemu-system-s390x gcc-s390x-linux-gnu
- ./configure --arch=s390x --cross-prefix=s390x-linux-gnu-
- make -j2
- ACCEL=tcg ./run_tests.sh
selftest-setup intercept emulator sieve diag10
| tee results.txt
- if grep -q FAIL results.txt ; then exit 1 ; fi
build-x86_64:
script:
- dnf install -y qemu-system-x86 gcc
- ./configure --arch=x86_64
- make -j2
- ACCEL=tcg ./run_tests.sh
ioapic-split ioapic smptest smptest3 vmexit_cpuid vmexit_mov_from_cr8
vmexit_mov_to_cr8 vmexit_inl_pmtimer vmexit_ipi vmexit_ipi_halt
vmexit_ple_round_robin vmexit_tscdeadline vmexit_tscdeadline_immed
eventinj msr port80 syscall tsc rmap_chain umip intel_iommu
| tee results.txt
- if grep -q FAIL results.txt ; then exit 1 ; fi
build-i386:
script:
- dnf install -y qemu-system-x86 gcc
- ./configure --arch=i386
- make -j2
- ACCEL=tcg ./run_tests.sh
eventinj port80 sieve tsc taskswitch taskswitch2 umip
| tee results.txt
- if grep -q FAIL results.txt ; then exit 1 ; fi