MAINTAINERS: add Paolo Bonzini as RCU maintainer
[qemu/ar7.git] / .cirrus.yml
blobd58782ce67a4a7e26961bf863d291d247e4d2bd3
1 env:
2   CIRRUS_CLONE_DEPTH: 1
4 freebsd_12_task:
5   freebsd_instance:
6     image_family: freebsd-12-1
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
13   script:
14     - mkdir build
15     - cd build
16     - ../configure --enable-werror || { cat config.log; exit 1; }
17     - gmake -j$(sysctl -n hw.ncpu)
18     - gmake -j$(sysctl -n hw.ncpu) check
20 macos_task:
21   osx_instance:
22     image: catalina-base
23   install_script:
24     - brew install pkg-config python gnu-sed glib pixman make sdl2 bash
25   script:
26     - mkdir build
27     - cd build
28     - ../configure --python=/usr/local/bin/python3 --enable-werror
29                    --extra-cflags='-Wno-error=deprecated-declarations'
30                    || { cat config.log; exit 1; }
31     - gmake -j$(sysctl -n hw.ncpu)
32     - gmake check
34 macos_xcode_task:
35   osx_instance:
36     # this is an alias for the latest Xcode
37     image: catalina-xcode
38   install_script:
39     - brew install pkg-config gnu-sed glib pixman make sdl2 bash
40   script:
41     - mkdir build
42     - cd build
43     - ../configure --extra-cflags='-Wno-error=deprecated-declarations'
44                    --enable-werror --cc=clang || { cat config.log; exit 1; }
45     - gmake -j$(sysctl -n hw.ncpu)
46     - gmake check
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"