[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 7/7] cirrus.yml: Add macOS continuous integration tas
From: |
Thomas Huth |
Subject: |
[Qemu-devel] [PULL 7/7] cirrus.yml: Add macOS continuous integration task |
Date: |
Fri, 8 Mar 2019 10:18:43 +0100 |
cirrus-ci.com also has the possibility to run CI tasks on macOS.
Since most of the QEMU developers do not have access to macOS yet,
let's add a CI pipeline for this operating system here, too.
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Acked-by: Ed Maste <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>
---
.cirrus.yml | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/.cirrus.yml b/.cirrus.yml
index 303fe72..47ef5bc 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -1,10 +1,11 @@
+env:
+ CIRRUS_CLONE_DEPTH: 1
+
freebsd_12_task:
freebsd_instance:
image: freebsd-12-0-release-amd64
cpu: 8
memory: 8G
- env:
- CIRRUS_CLONE_DEPTH: 1
install_script: pkg install -y
bison curl cyrus-sasl git glib gmake gnutls
nettle perl5 pixman pkgconf png usbredir
@@ -14,3 +15,13 @@ freebsd_12_task:
- ../configure || { cat config.log; exit 1; }
- gmake -j8
- gmake -j8 V=1 check
+
+macos_task:
+ osx_instance:
+ image: mojave-base
+ install_script:
+ - brew install pkg-config python glib pixman make sdl2
+ script:
+ - ./configure --python=/usr/local/bin/python3 || { cat config.log; exit 1;
}
+ - gmake -j$(sysctl -n hw.ncpu)
+ - gmake check -j$(sysctl -n hw.ncpu)
--
1.8.3.1
- [Qemu-devel] [PULL 0/7] qtests, clean-ups and macOS CI testing, Thomas Huth, 2019/03/08
- [Qemu-devel] [PULL 1/7] tests: Move qdict-test-data.txt to tests/data/qobject/, Thomas Huth, 2019/03/08
- [Qemu-devel] [PULL 3/7] hw/devices: Remove unused TC6393XB_RAM definition, Thomas Huth, 2019/03/08
- [Qemu-devel] [PULL 2/7] hw: Remove unused 'hw/devices.h' include, Thomas Huth, 2019/03/08
- [Qemu-devel] [PULL 4/7] tests: Do not use "\n" in g_test_message() strings, Thomas Huth, 2019/03/08
- [Qemu-devel] [PULL 5/7] vhost-user-test: fix leaks, Thomas Huth, 2019/03/08
- [Qemu-devel] [PULL 6/7] tests/bios-tables: Improve portability by searching bash in the $PATH, Thomas Huth, 2019/03/08
- [Qemu-devel] [PULL 7/7] cirrus.yml: Add macOS continuous integration task,
Thomas Huth <=
- Re: [Qemu-devel] [PULL 0/7] qtests, clean-ups and macOS CI testing, Peter Maydell, 2019/03/08