mirror of
https://github.com/qemu/qemu.git
synced 2024-12-24 04:33:58 +08:00
bc4486fb23
Most developers are using out-of-tree builds and it was discussed in the past to only allow those. To prepare for the transition, use out-of-tree builds in all continuous integration jobs. Based on a patch by Marc-André Lureau. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Li-Wen Hsu <lwhsu@freebsd.org> Message-Id: <1576074829-56711-1-git-send-email-pbonzini@redhat.com>
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
env:
|
|
CIRRUS_CLONE_DEPTH: 1
|
|
|
|
freebsd_12_task:
|
|
freebsd_instance:
|
|
image: freebsd-12-0-release-amd64
|
|
cpu: 8
|
|
memory: 8G
|
|
install_script: pkg install -y
|
|
bash bison curl cyrus-sasl git glib gmake gnutls gsed
|
|
nettle perl5 pixman pkgconf png usbredir
|
|
script:
|
|
- mkdir build
|
|
- cd build
|
|
- ../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 gnu-sed glib pixman make sdl2
|
|
script:
|
|
- mkdir build
|
|
- cd build
|
|
- ../configure --python=/usr/local/bin/python3 || { cat config.log; exit 1; }
|
|
- gmake -j$(sysctl -n hw.ncpu)
|
|
- gmake check -j$(sysctl -n hw.ncpu)
|
|
|
|
macos_xcode_task:
|
|
osx_instance:
|
|
# this is an alias for the latest Xcode
|
|
image: mojave-xcode
|
|
install_script:
|
|
- brew install pkg-config gnu-sed glib pixman make sdl2
|
|
script:
|
|
- mkdir build
|
|
- cd build
|
|
- ../configure --cc=clang || { cat config.log; exit 1; }
|
|
- gmake -j$(sysctl -n hw.ncpu)
|
|
- gmake check -j$(sysctl -n hw.ncpu)
|