]>
Commit | Line | Data |
---|---|---|
4966c5bd TH |
1 | env: |
2 | CIRRUS_CLONE_DEPTH: 1 | |
3 | ||
114daec3 | 4 | freebsd_12_task: |
7162fbb4 | 5 | freebsd_instance: |
8f3e2968 | 6 | image_family: freebsd-12-1 |
114daec3 YL |
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 | |
7162fbb4 EM |
13 | script: |
14 | - mkdir build | |
15 | - cd build | |
114daec3 | 16 | - ../configure --enable-werror || { cat config.log; exit 1; } |
45f7b7b9 TH |
17 | - gmake -j$(sysctl -n hw.ncpu) |
18 | - gmake -j$(sysctl -n hw.ncpu) check | |
4966c5bd TH |
19 | |
20 | macos_task: | |
21 | osx_instance: | |
7498e6af | 22 | image: catalina-base |
4966c5bd | 23 | install_script: |
83c85bf1 | 24 | - brew install pkg-config python gnu-sed glib pixman make sdl2 bash |
4966c5bd | 25 | script: |
bc4486fb PB |
26 | - mkdir build |
27 | - cd build | |
d76efeda TH |
28 | - ../configure --python=/usr/local/bin/python3 --enable-werror |
29 | --extra-cflags='-Wno-error=deprecated-declarations' | |
30 | || { cat config.log; exit 1; } | |
4966c5bd | 31 | - gmake -j$(sysctl -n hw.ncpu) |
7e123614 | 32 | - gmake check |
fc84471a AB |
33 | |
34 | macos_xcode_task: | |
35 | osx_instance: | |
36 | # this is an alias for the latest Xcode | |
7498e6af | 37 | image: catalina-xcode |
fc84471a | 38 | install_script: |
83c85bf1 | 39 | - brew install pkg-config gnu-sed glib pixman make sdl2 bash |
fc84471a | 40 | script: |
bc4486fb PB |
41 | - mkdir build |
42 | - cd build | |
d76efeda TH |
43 | - ../configure --extra-cflags='-Wno-error=deprecated-declarations' |
44 | --enable-werror --cc=clang || { cat config.log; exit 1; } | |
fc84471a | 45 | - gmake -j$(sysctl -n hw.ncpu) |
7e123614 | 46 | - gmake check |
b1788880 YL |
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" |