blob: 8ee6fb7ec156a589dc66c4ea8a43998195010168 [file] [log] [blame]
Thomas Huth990955e2021-01-15 23:30:17 +01001
2macos_task:
3 osx_instance:
Thomas Huth5443d1c2023-01-04 15:25:11 +01004 image: ghcr.io/cirruslabs/macos-ventura-base:latest
Thomas Huth990955e2021-01-15 23:30:17 +01005 install_script:
Thomas Huth74e25922021-07-16 09:46:16 +02006 - brew update
Thomas Huth990955e2021-01-15 23:30:17 +01007 - brew install coreutils bash git gnu-getopt make qemu x86_64-elf-gcc
8 clone_script:
9 - git clone --depth 100 "@CI_REPOSITORY_URL@" .
10 - git fetch origin "@CI_COMMIT_REF_NAME@"
11 - git reset --hard "@CI_COMMIT_SHA@"
12 script:
Thomas Huth5443d1c2023-01-04 15:25:11 +010013 - export PATH="/opt/homebrew/opt/gnu-getopt/bin:$PATH"
Thomas Huth990955e2021-01-15 23:30:17 +010014 - mkdir build
15 - cd build
Thomas Huth5443d1c2023-01-04 15:25:11 +010016 - ../configure --arch=x86_64 --cross-prefix=x86_64-elf-
Thomas Huth990955e2021-01-15 23:30:17 +010017 - gmake -j$(sysctl -n hw.ncpu)
18 - ACCEL=tcg ./run_tests.sh
19 eventinj
20 intel_iommu
21 ioapic-split
Thomas Huth990955e2021-01-15 23:30:17 +010022 realmode
23 rmap_chain
24 setjmp
25 sieve
26 smptest
27 smptest3
28 syscall
29 tsc
30 umip
31 vmexit_cpuid
32 vmexit_inl_pmtimer
33 vmexit_ipi
34 vmexit_ipi_halt
35 vmexit_mov_from_cr8
36 vmexit_mov_to_cr8
37 vmexit_ple_round_robin
38 vmexit_tscdeadline
39 vmexit_tscdeadline_immed
40 | tee results.txt
41 - grep -q PASS results.txt && ! grep -q FAIL results.txt
Thomas Huthbd2daad2023-04-03 11:32:55 +020042 on_failure:
43 log_artifacts:
44 path: build/logs/*.log
45 type: text/plain