blob: 8ee6fb7ec156a589dc66c4ea8a43998195010168 [file] [log] [blame]
macos_task:
osx_instance:
image: ghcr.io/cirruslabs/macos-ventura-base:latest
install_script:
- brew update
- brew install coreutils bash git gnu-getopt make qemu x86_64-elf-gcc
clone_script:
- git clone --depth 100 "@CI_REPOSITORY_URL@" .
- git fetch origin "@CI_COMMIT_REF_NAME@"
- git reset --hard "@CI_COMMIT_SHA@"
script:
- export PATH="/opt/homebrew/opt/gnu-getopt/bin:$PATH"
- mkdir build
- cd build
- ../configure --arch=x86_64 --cross-prefix=x86_64-elf-
- gmake -j$(sysctl -n hw.ncpu)
- ACCEL=tcg ./run_tests.sh
eventinj
intel_iommu
ioapic-split
realmode
rmap_chain
setjmp
sieve
smptest
smptest3
syscall
tsc
umip
vmexit_cpuid
vmexit_inl_pmtimer
vmexit_ipi
vmexit_ipi_halt
vmexit_mov_from_cr8
vmexit_mov_to_cr8
vmexit_ple_round_robin
vmexit_tscdeadline
vmexit_tscdeadline_immed
| tee results.txt
- grep -q PASS results.txt && ! grep -q FAIL results.txt
on_failure:
log_artifacts:
path: build/logs/*.log
type: text/plain