|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] cirrus-ci: add x86 and arm64 macOS hypervisor builds
commit 7ad6037fa1d96a89bfd1db6606aec21e6948fd82
Author: Roger Pau Monne <roger.pau@xxxxxxxxxx>
AuthorDate: Wed Feb 11 09:13:28 2026 +0100
Commit: Roger Pau Monne <roger.pau@xxxxxxxxxx>
CommitDate: Thu Feb 12 19:22:44 2026 +0100
cirrus-ci: add x86 and arm64 macOS hypervisor builds
Introduce two new build that run on macOS Cirrus-CI instances. Those build
the hypervisor using the elf cross-toolchain from Homebrew for both x86 and
arm64.
Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
.cirrus.yml | 38 +++++++++++++++++++++++++++++++++++++-
1 file changed, 37 insertions(+), 1 deletion(-)
diff --git a/.cirrus.yml b/.cirrus.yml
index 7bbb4f1c5c..b9608e71cc 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -1,3 +1,5 @@
+## FreeBSD Build Jobs
+
#
https://cirrus-ci.org/guide/tips-and-tricks/#sharing-configuration-between-tasks
freebsd_versions: &FREEBSD_VERSIONS
env:
@@ -122,7 +124,41 @@ task:
path: xtf/tests/selftest/test-*-selftest
type: application/octet-stream
-# Test jobs
+## macOS Build Jobs
+
+task:
+ name: 'macOS: hypervisor build'
+
+ env:
+ matrix:
+ ARCH: x86_64
+ ARCH: aarch64
+
+ alias: macos-$ARCH
+ macos_instance:
+ image: ghcr.io/cirruslabs/macos-runner:sonoma
+
+ environment:
+ CIRRUS_CLONE_DEPTH: 1
+ CIRRUS_LOG_TIMESTAMP: true
+
+ install_script:
+ - brew install $ARCH-elf-gcc $ARCH-elf-binutils
+
+ build_script:
+ - make -j`sysctl -n hw.ncpu`
+ XEN_TARGET_ARCH=`echo $ARCH | sed -e s/aarch64/arm64/`
+ CROSS_COMPILE=$ARCH-elf- HOSTCC=clang -C xen
+
+ xen_artifacts:
+ path: xen/xen
+ type: application/octet-stream
+
+ debug_artifacts:
+ path: xen/xen-syms
+ type: application/octet-stream
+
+## Test Jobs
task:
name: 'FreeBSD: XTF selftest'
--
generated by git-patchbot for /home/xen/git/xen.git#staging
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |