xref: /kvm-unit-tests/ci/cirrus-ci-fedora.yml (revision bd2daad44928bddbd8daa0098e4cea12560afc78)
1
2fedora_task:
3  container:
4    image: fedora:latest
5    cpu: 4
6    memory: 4Gb
7    kvm: true
8  install_script:
9    - dnf update -y
10    - dnf install -y diffutils gcc git make qemu-system-x86
11  clone_script:
12    - git clone --depth 100 "@CI_REPOSITORY_URL@" .
13    - git fetch origin "@CI_COMMIT_REF_NAME@"
14    - git reset --hard "@CI_COMMIT_SHA@"
15  script:
16    - uname -r
17    - sed -n "/processor.*:.0/,/^$/p" /proc/cpuinfo
18    - mkdir build
19    - cd build
20    - ../configure
21    - make -j$(nproc)
22    - ./run_tests.sh
23        access
24        asyncpf
25        debug
26        emulator
27        ept
28        hypercall
29        hyperv_clock
30        hyperv_connections
31        hyperv_stimer
32        hyperv_synic
33        idt_test
34        intel_iommu
35        ioapic
36        ioapic-split
37        kvmclock_test
38        memory
39        pcid-asymmetric
40        pcid-disabled
41        pcid-enabled
42        rdpru
43        realmode
44        rmap_chain
45        s3
46        setjmp
47        sieve
48        smptest
49        smptest3
50        syscall
51        tsc
52        tsc_adjust
53        tsx-ctrl
54        umip
55        vmexit_cpuid
56        vmexit_cr0_wp
57        vmexit_cr4_pge
58        vmexit_inl_pmtimer
59        vmexit_ipi
60        vmexit_ipi_halt
61        vmexit_mov_from_cr8
62        vmexit_mov_to_cr8
63        vmexit_ple_round_robin
64        vmexit_tscdeadline
65        vmexit_tscdeadline_immed
66        vmexit_vmcall
67        vmx_apic_passthrough_thread
68        vmx_apic_passthrough_tpr_threshold_test
69        vmx_init_signal_test
70        vmx_pf_exception_test
71        vmx_sipi_signal_test
72        xsave
73        | tee results.txt
74    - grep -q PASS results.txt && ! grep -q FAIL results.txt
75  on_failure:
76    log_artifacts:
77      path: build/logs/*.log
78      type: text/plain
79