mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-14 21:52:18 -06:00
cirrus.yml: Add macOS continuous integration task
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é <philmd@redhat.com> Acked-by: Ed Maste <emaste@freebsd.org> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
fa59483d36
commit
4966c5bd8a
1 changed files with 13 additions and 2 deletions
15
.cirrus.yml
15
.cirrus.yml
|
@ -1,10 +1,11 @@
|
||||||
|
env:
|
||||||
|
CIRRUS_CLONE_DEPTH: 1
|
||||||
|
|
||||||
freebsd_12_task:
|
freebsd_12_task:
|
||||||
freebsd_instance:
|
freebsd_instance:
|
||||||
image: freebsd-12-0-release-amd64
|
image: freebsd-12-0-release-amd64
|
||||||
cpu: 8
|
cpu: 8
|
||||||
memory: 8G
|
memory: 8G
|
||||||
env:
|
|
||||||
CIRRUS_CLONE_DEPTH: 1
|
|
||||||
install_script: pkg install -y
|
install_script: pkg install -y
|
||||||
bison curl cyrus-sasl git glib gmake gnutls
|
bison curl cyrus-sasl git glib gmake gnutls
|
||||||
nettle perl5 pixman pkgconf png usbredir
|
nettle perl5 pixman pkgconf png usbredir
|
||||||
|
@ -14,3 +15,13 @@ freebsd_12_task:
|
||||||
- ../configure || { cat config.log; exit 1; }
|
- ../configure || { cat config.log; exit 1; }
|
||||||
- gmake -j8
|
- gmake -j8
|
||||||
- gmake -j8 V=1 check
|
- 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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue