2019-03-03 15:42:59 +01:00
|
|
|
env:
|
|
|
|
CIRRUS_CLONE_DEPTH: 1
|
|
|
|
|
2020-08-24 08:25:21 +02:00
|
|
|
freebsd_1st_task:
|
2019-01-22 18:25:58 +01:00
|
|
|
freebsd_instance:
|
2020-05-01 13:15:04 +02:00
|
|
|
image_family: freebsd-12-1
|
2020-08-24 08:25:21 +02:00
|
|
|
cpu: 4
|
|
|
|
memory: 4G
|
2020-05-04 11:23:50 +02:00
|
|
|
install_script: ASSUME_ALWAYS_YES=yes pkg bootstrap -f ; pkg install -y
|
2020-05-15 18:30:28 +02:00
|
|
|
bash curl cyrus-sasl git glib gmake gnutls gsed
|
2019-01-22 18:25:58 +01:00
|
|
|
nettle perl5 pixman pkgconf png usbredir
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-08-24 08:25:21 +02:00
|
|
|
- ../configure --disable-user --target-list-exclude='alpha-softmmu
|
|
|
|
ppc64-softmmu ppc-softmmu riscv32-softmmu riscv64-softmmu s390x-softmmu
|
|
|
|
sparc64-softmmu sparc-softmmu x86_64-softmmu i386-softmmu'
|
|
|
|
--enable-werror || { cat config.log; exit 1; }
|
|
|
|
- gmake -j$(sysctl -n hw.ncpu)
|
|
|
|
- gmake -j$(sysctl -n hw.ncpu) check
|
|
|
|
|
|
|
|
freebsd_2nd_task:
|
|
|
|
freebsd_instance:
|
|
|
|
image_family: freebsd-12-1
|
|
|
|
cpu: 4
|
|
|
|
memory: 4G
|
|
|
|
install_script: ASSUME_ALWAYS_YES=yes pkg bootstrap -f ; pkg install -y
|
|
|
|
bash curl cyrus-sasl git glib gmake gnutls gtk3 gsed libepoxy mesa-libs
|
|
|
|
nettle perl5 pixman pkgconf png SDL2 usbredir
|
|
|
|
script:
|
|
|
|
- ./configure --enable-werror --target-list='alpha-softmmu ppc64-softmmu
|
|
|
|
ppc-softmmu riscv32-softmmu riscv64-softmmu s390x-softmmu
|
|
|
|
sparc64-softmmu sparc-softmmu x86_64-softmmu i386-softmmu
|
|
|
|
sparc-bsd-user sparc64-bsd-user x86_64-bsd-user i386-bsd-user'
|
|
|
|
|| { cat config.log; exit 1; }
|
|
|
|
- gmake -j$(sysctl -n hw.ncpu)
|
|
|
|
- gmake -j$(sysctl -n hw.ncpu) check
|
2019-03-03 15:42:59 +01:00
|
|
|
|
|
|
|
macos_task:
|
|
|
|
osx_instance:
|
2020-07-24 15:18:56 +02:00
|
|
|
image: catalina-base
|
2019-03-03 15:42:59 +01:00
|
|
|
install_script:
|
2020-07-10 18:30:21 +02:00
|
|
|
- brew install pkg-config python gnu-sed glib pixman make sdl2 bash
|
2019-03-03 15:42:59 +01:00
|
|
|
script:
|
2019-12-11 15:33:49 +01:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-07-27 17:24:26 +02:00
|
|
|
- ../configure --python=/usr/local/bin/python3 --enable-werror
|
|
|
|
--extra-cflags='-Wno-error=deprecated-declarations'
|
|
|
|
|| { cat config.log; exit 1; }
|
2019-03-03 15:42:59 +01:00
|
|
|
- gmake -j$(sysctl -n hw.ncpu)
|
2020-06-12 21:02:37 +02:00
|
|
|
- gmake check
|
2019-10-16 20:27:13 +02:00
|
|
|
|
|
|
|
macos_xcode_task:
|
|
|
|
osx_instance:
|
|
|
|
# this is an alias for the latest Xcode
|
2020-07-24 15:18:56 +02:00
|
|
|
image: catalina-xcode
|
2019-10-16 20:27:13 +02:00
|
|
|
install_script:
|
2020-07-10 18:30:21 +02:00
|
|
|
- brew install pkg-config gnu-sed glib pixman make sdl2 bash
|
2019-10-16 20:27:13 +02:00
|
|
|
script:
|
2019-12-11 15:33:49 +01:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-07-27 17:24:26 +02:00
|
|
|
- ../configure --extra-cflags='-Wno-error=deprecated-declarations'
|
|
|
|
--enable-werror --cc=clang || { cat config.log; exit 1; }
|
2019-10-16 20:27:13 +02:00
|
|
|
- gmake -j$(sysctl -n hw.ncpu)
|
2020-06-12 21:02:37 +02:00
|
|
|
- gmake check
|