Thomas Huth | 4966c5b | 2019-03-03 15:42:59 +0100 | [diff] [blame] | 1 | env: |
| 2 | CIRRUS_CLONE_DEPTH: 1 |
| 3 | |
Yonggang Luo | 114daec | 2020-09-15 20:13:07 +0800 | [diff] [blame] | 4 | freebsd_12_task: |
Ed Maste | 7162fbb | 2019-01-22 17:25:58 +0000 | [diff] [blame] | 5 | freebsd_instance: |
Alex Bennée | 8f3e296 | 2020-05-01 12:15:04 +0100 | [diff] [blame] | 6 | image_family: freebsd-12-1 |
Yonggang Luo | 114daec | 2020-09-15 20:13:07 +0800 | [diff] [blame] | 7 | cpu: 8 |
| 8 | memory: 8G |
| 9 | install_script: |
| 10 | - ASSUME_ALWAYS_YES=yes pkg bootstrap -f ; |
| 11 | - pkg install -y bash curl cyrus-sasl git glib gmake gnutls gsed |
| 12 | nettle perl5 pixman pkgconf png usbredir |
Ed Maste | 7162fbb | 2019-01-22 17:25:58 +0000 | [diff] [blame] | 13 | script: |
| 14 | - mkdir build |
| 15 | - cd build |
Yonggang Luo | 114daec | 2020-09-15 20:13:07 +0800 | [diff] [blame] | 16 | - ../configure --enable-werror || { cat config.log; exit 1; } |
Thomas Huth | 45f7b7b | 2020-08-24 08:25:21 +0200 | [diff] [blame] | 17 | - gmake -j$(sysctl -n hw.ncpu) |
| 18 | - gmake -j$(sysctl -n hw.ncpu) check |
Thomas Huth | 4966c5b | 2019-03-03 15:42:59 +0100 | [diff] [blame] | 19 | |
| 20 | macos_task: |
| 21 | osx_instance: |
Thomas Huth | 7498e6a | 2020-07-24 15:18:56 +0200 | [diff] [blame] | 22 | image: catalina-base |
Thomas Huth | 4966c5b | 2019-03-03 15:42:59 +0100 | [diff] [blame] | 23 | install_script: |
Alex Bennée | 83c85bf | 2020-07-10 17:30:21 +0100 | [diff] [blame] | 24 | - brew install pkg-config python gnu-sed glib pixman make sdl2 bash |
Thomas Huth | 4966c5b | 2019-03-03 15:42:59 +0100 | [diff] [blame] | 25 | script: |
Paolo Bonzini | bc4486f | 2019-12-11 15:33:49 +0100 | [diff] [blame] | 26 | - mkdir build |
| 27 | - cd build |
Thomas Huth | d76efed | 2020-07-27 17:24:26 +0200 | [diff] [blame] | 28 | - ../configure --python=/usr/local/bin/python3 --enable-werror |
| 29 | --extra-cflags='-Wno-error=deprecated-declarations' |
| 30 | || { cat config.log; exit 1; } |
Thomas Huth | 4966c5b | 2019-03-03 15:42:59 +0100 | [diff] [blame] | 31 | - gmake -j$(sysctl -n hw.ncpu) |
Alex Bennée | 7e12361 | 2020-06-12 20:02:37 +0100 | [diff] [blame] | 32 | - gmake check |
Alex Bennée | fc84471 | 2019-10-16 19:27:13 +0100 | [diff] [blame] | 33 | |
| 34 | macos_xcode_task: |
| 35 | osx_instance: |
| 36 | # this is an alias for the latest Xcode |
Thomas Huth | 7498e6a | 2020-07-24 15:18:56 +0200 | [diff] [blame] | 37 | image: catalina-xcode |
Alex Bennée | fc84471 | 2019-10-16 19:27:13 +0100 | [diff] [blame] | 38 | install_script: |
Alex Bennée | 83c85bf | 2020-07-10 17:30:21 +0100 | [diff] [blame] | 39 | - brew install pkg-config gnu-sed glib pixman make sdl2 bash |
Alex Bennée | fc84471 | 2019-10-16 19:27:13 +0100 | [diff] [blame] | 40 | script: |
Paolo Bonzini | bc4486f | 2019-12-11 15:33:49 +0100 | [diff] [blame] | 41 | - mkdir build |
| 42 | - cd build |
Thomas Huth | d76efed | 2020-07-27 17:24:26 +0200 | [diff] [blame] | 43 | - ../configure --extra-cflags='-Wno-error=deprecated-declarations' |
| 44 | --enable-werror --cc=clang || { cat config.log; exit 1; } |
Alex Bennée | fc84471 | 2019-10-16 19:27:13 +0100 | [diff] [blame] | 45 | - gmake -j$(sysctl -n hw.ncpu) |
Alex Bennée | 7e12361 | 2020-06-12 20:02:37 +0100 | [diff] [blame] | 46 | - gmake check |
Yonggang Luo | b178888 | 2020-09-15 20:13:16 +0800 | [diff] [blame] | 47 | |
| 48 | windows_msys2_task: |
| 49 | windows_container: |
| 50 | image: cirrusci/windowsservercore:cmake |
| 51 | os_version: 2019 |
| 52 | cpu: 8 |
| 53 | memory: 8G |
| 54 | env: |
| 55 | MSYS: winsymlinks:nativestrict |
| 56 | MSYSTEM: MINGW64 |
| 57 | CHERE_INVOKING: 1 |
| 58 | printenv_script: |
| 59 | - C:\tools\msys64\usr\bin\bash.exe -lc 'printenv' |
| 60 | install_script: |
| 61 | - C:\tools\msys64\usr\bin\bash.exe -lc "cd /c/tools && |
| 62 | curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz" |
| 63 | - C:\tools\msys64\usr\bin\bash.exe -lc "cd /c/tools && |
| 64 | curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig" |
| 65 | - C:\tools\msys64\usr\bin\bash.exe -lc "cd /c/tools && |
| 66 | pacman -U --noconfirm msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz" |
| 67 | - C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -Sy" |
| 68 | - C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -S --needed |
| 69 | bash pacman pacman-mirrors msys2-runtime" |
| 70 | - taskkill /F /IM gpg-agent.exe |
| 71 | - C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -Su" |
| 72 | - C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -S --needed |
| 73 | base-devel |
| 74 | git |
| 75 | mingw-w64-x86_64-python |
| 76 | mingw-w64-x86_64-python-setuptools |
| 77 | mingw-w64-x86_64-toolchain |
| 78 | mingw-w64-x86_64-capstone |
| 79 | mingw-w64-x86_64-SDL2 |
| 80 | mingw-w64-x86_64-SDL2_image |
| 81 | mingw-w64-x86_64-gtk3 |
| 82 | mingw-w64-x86_64-glib2 |
| 83 | mingw-w64-x86_64-ninja |
| 84 | mingw-w64-x86_64-make |
| 85 | mingw-w64-x86_64-lzo2 |
| 86 | mingw-w64-x86_64-zstd |
| 87 | mingw-w64-x86_64-libjpeg-turbo |
| 88 | mingw-w64-x86_64-pixman |
| 89 | mingw-w64-x86_64-libgcrypt |
| 90 | mingw-w64-x86_64-libpng |
| 91 | mingw-w64-x86_64-libssh |
| 92 | mingw-w64-x86_64-libxml2 |
| 93 | mingw-w64-x86_64-snappy |
| 94 | mingw-w64-x86_64-libusb |
| 95 | mingw-w64-x86_64-usbredir |
| 96 | mingw-w64-x86_64-libtasn1 |
| 97 | mingw-w64-x86_64-nettle |
| 98 | mingw-w64-x86_64-cyrus-sasl |
| 99 | mingw-w64-x86_64-curl |
| 100 | mingw-w64-x86_64-gnutls |
| 101 | mingw-w64-x86_64-zstd" |
| 102 | script: |
| 103 | - C:\tools\msys64\usr\bin\bash.exe -lc "mkdir build" |
| 104 | - C:\tools\msys64\usr\bin\bash.exe -lc "cd build && ../configure |
| 105 | --python=python3 --ninja=ninja |
| 106 | --target-list-exclude=i386-softmmu,arm-softmmu,ppc-softmmu,mips-softmmu" |
| 107 | - C:\tools\msys64\usr\bin\bash.exe -lc "cd build && make -j$NUMBER_OF_PROCESSORS" |
| 108 | test_script: |
| 109 | - C:\tools\msys64\usr\bin\bash.exe -lc "cd build && make V=1 check" |