qemu/.cirrus.yml
<<
>>
Prefs
   1env:
   2  CIRRUS_CLONE_DEPTH: 1
   3
   4freebsd_12_task:
   5  freebsd_instance:
   6    image: freebsd-12-0-release-amd64
   7    cpu: 8
   8    memory: 8G
   9  install_script: pkg install -y
  10    bash bison curl cyrus-sasl git glib gmake gnutls gsed
  11    nettle perl5 pixman pkgconf png usbredir
  12  script:
  13    - mkdir build
  14    - cd build
  15    - ../configure || { cat config.log; exit 1; }
  16    - gmake -j8
  17    - gmake -j8 V=1 check
  18
  19macos_task:
  20  osx_instance:
  21    image: mojave-base
  22  install_script:
  23    - brew install pkg-config python gnu-sed glib pixman make sdl2
  24  script:
  25    - mkdir build
  26    - cd build
  27    - ../configure --python=/usr/local/bin/python3 || { cat config.log; exit 1; }
  28    - gmake -j$(sysctl -n hw.ncpu)
  29    - gmake check -j$(sysctl -n hw.ncpu)
  30
  31macos_xcode_task:
  32  osx_instance:
  33    # this is an alias for the latest Xcode
  34    image: mojave-xcode
  35  install_script:
  36    - brew install pkg-config gnu-sed glib pixman make sdl2
  37  script:
  38    - mkdir build
  39    - cd build
  40    - ../configure --cc=clang || { cat config.log; exit 1; }
  41    - gmake -j$(sysctl -n hw.ncpu)
  42    - gmake check -j$(sysctl -n hw.ncpu)
  43