2019-03-03 22:42:59 +08:00
|
|
|
env:
|
|
|
|
CIRRUS_CLONE_DEPTH: 1
|
|
|
|
|
2019-01-23 01:25:58 +08:00
|
|
|
freebsd_12_task:
|
|
|
|
freebsd_instance:
|
2020-05-01 19:15:04 +08:00
|
|
|
image_family: freebsd-12-1
|
2019-01-23 01:25:58 +08:00
|
|
|
cpu: 8
|
|
|
|
memory: 8G
|
2020-05-04 17:23:50 +08:00
|
|
|
install_script: ASSUME_ALWAYS_YES=yes pkg bootstrap -f ; pkg install -y
|
2020-05-16 00:30:28 +08:00
|
|
|
bash curl cyrus-sasl git glib gmake gnutls gsed
|
2019-01-23 01:25:58 +08:00
|
|
|
nettle perl5 pixman pkgconf png usbredir
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- ../configure || { cat config.log; exit 1; }
|
|
|
|
- gmake -j8
|
2020-06-13 03:02:37 +08:00
|
|
|
- gmake V=1 check
|
2019-03-03 22:42:59 +08:00
|
|
|
|
|
|
|
macos_task:
|
|
|
|
osx_instance:
|
|
|
|
image: mojave-base
|
|
|
|
install_script:
|
2020-07-11 00:30:21 +08:00
|
|
|
- brew install pkg-config python gnu-sed glib pixman make sdl2 bash
|
2019-03-03 22:42:59 +08:00
|
|
|
script:
|
2019-12-11 22:33:49 +08:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- ../configure --python=/usr/local/bin/python3 || { cat config.log; exit 1; }
|
2019-03-03 22:42:59 +08:00
|
|
|
- gmake -j$(sysctl -n hw.ncpu)
|
2020-06-13 03:02:37 +08:00
|
|
|
- gmake check
|
2019-10-17 02:27:13 +08:00
|
|
|
|
|
|
|
macos_xcode_task:
|
|
|
|
osx_instance:
|
|
|
|
# this is an alias for the latest Xcode
|
|
|
|
image: mojave-xcode
|
|
|
|
install_script:
|
2020-07-11 00:30:21 +08:00
|
|
|
- brew install pkg-config gnu-sed glib pixman make sdl2 bash
|
2019-10-17 02:27:13 +08:00
|
|
|
script:
|
2019-12-11 22:33:49 +08:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- ../configure --cc=clang || { cat config.log; exit 1; }
|
2019-10-17 02:27:13 +08:00
|
|
|
- gmake -j$(sysctl -n hw.ncpu)
|
2020-06-13 03:02:37 +08:00
|
|
|
- gmake check
|