6 image_family: freebsd-12-1
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 ninja
16 - ../configure --enable-werror || { cat config.log meson-logs/meson-log.txt; exit 1; }
17 - gmake -j$(sysctl -n hw.ncpu)
18 - gmake -j$(sysctl -n hw.ncpu) check V=1
24 - brew install pkg-config python gnu-sed glib pixman make sdl2 bash ninja
28 - ../configure --python=/usr/local/bin/python3 --enable-werror
29 --extra-cflags='-Wno-error=deprecated-declarations'
30 || { cat config.log meson-logs/meson-log.txt; exit 1; }
31 - gmake -j$(sysctl -n hw.ncpu)
32 - gmake check-unit V=1
33 - gmake check-block V=1
34 - gmake check-qapi-schema V=1
35 - gmake check-softfloat V=1
36 - gmake check-qtest-x86_64 V=1
40 # this is an alias for the latest Xcode
43 - brew install pkg-config gnu-sed glib pixman make sdl2 bash ninja
47 - ../configure --extra-cflags='-Wno-error=deprecated-declarations' --enable-modules
48 --enable-werror --cc=clang || { cat config.log meson-logs/meson-log.txt; exit 1; }
49 - gmake -j$(sysctl -n hw.ncpu)
50 - gmake check-unit V=1
51 - gmake check-block V=1
52 - gmake check-qapi-schema V=1
53 - gmake check-softfloat V=1
54 - gmake check-qtest-x86_64 V=1
59 image: cirrusci/windowsservercore:2019
64 CIRRUS_SHELL: powershell
65 MSYS: winsymlinks:nativestrict
69 - choco install -y --no-progress 7zip
70 - Write-Output $env:PATH
72 folder: C:\tools\archive
73 reupload_on_changes: false
74 fingerprint_script: cat .cirrus.yml
79 $start_time = Get-Date
81 bitsadmin /transfer msys_download /dynamic /download /priority FOREGROUND https://github.com/msys2/msys2-installer/releases/download/2020-09-03/msys2-base-x86_64-20200903.sfx.exe C:\tools\base.exe
82 Write-Output "Download time taken: $((Get-Date).Subtract($start_time).Seconds) second(s)"
84 ((Get-Content -path C:\tools\msys64\etc\\post-install\\07-pacman-key.post -Raw) -replace '--refresh-keys', '--version') | Set-Content -Path C:\tools\msys64\etc\\post-install\\07-pacman-key.post
85 C:\tools\msys64\usr\bin\bash.exe -lc "sed -i 's/^CheckSpace/#CheckSpace/g' /etc/pacman.conf"
86 C:\tools\msys64\usr\bin\bash.exe -lc "export"
87 C:\tools\msys64\usr\bin\pacman.exe --noconfirm -Sy
88 echo Y | C:\tools\msys64\usr\bin\pacman.exe --noconfirm -Suu --overwrite=*
89 taskkill /F /FI "MODULES eq msys-2.0.dll"
91 C:\tools\msys64\usr\bin\bash.exe -lc "mv -f /etc/pacman.conf.pacnew /etc/pacman.conf || true"
92 C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -Suu --overwrite=*"
93 C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -S --needed \
94 diffutils git grep make pkg-config sed \
95 mingw-w64-x86_64-python \
96 mingw-w64-x86_64-toolchain \
97 mingw-w64-x86_64-SDL2 \
98 mingw-w64-x86_64-SDL2_image \
99 mingw-w64-x86_64-gtk3 \
100 mingw-w64-x86_64-glib2 \
101 mingw-w64-x86_64-ninja \
102 mingw-w64-x86_64-jemalloc \
103 mingw-w64-x86_64-lzo2 \
104 mingw-w64-x86_64-zstd \
105 mingw-w64-x86_64-libjpeg-turbo \
106 mingw-w64-x86_64-pixman \
107 mingw-w64-x86_64-libgcrypt \
108 mingw-w64-x86_64-libpng \
109 mingw-w64-x86_64-libssh \
110 mingw-w64-x86_64-libxml2 \
111 mingw-w64-x86_64-snappy \
112 mingw-w64-x86_64-libusb \
113 mingw-w64-x86_64-usbredir \
114 mingw-w64-x86_64-libtasn1 \
115 mingw-w64-x86_64-nettle \
116 mingw-w64-x86_64-cyrus-sasl \
117 mingw-w64-x86_64-curl \
118 mingw-w64-x86_64-gnutls \
119 mingw-w64-x86_64-libnfs \
121 bitsadmin /transfer msys_download /dynamic /download /priority FOREGROUND `
122 https://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-python-sphinx-2.3.1-1-any.pkg.tar.xz `
123 C:\tools\mingw-w64-x86_64-python-sphinx-2.3.1-1-any.pkg.tar.xz
124 C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -U /c/tools/mingw-w64-x86_64-python-sphinx-2.3.1-1-any.pkg.tar.xz"
125 del C:\tools\mingw-w64-x86_64-python-sphinx-2.3.1-1-any.pkg.tar.xz
126 C:\tools\msys64\usr\bin\bash.exe -lc "rm -rf /var/cache/pacman/pkg/*"
129 cmd /C "7z a -ttar . -so | 7z a -txz -simsys2-x86_64.tar C:\tools\archive\msys2-x86_64.tar.xz"
133 cmd /C "7z x C:\tools\archive\msys2-x86_64.tar.xz -so | 7z x -aoa -simsys2-x86_64.tar -ttar -omsys64"
134 C:\tools\msys64\usr\bin\bash.exe -lc "export"
137 - C:\tools\msys64\usr\bin\bash.exe -lc "mkdir build"
138 - C:\tools\msys64\usr\bin\bash.exe -lc "cd build && ../configure --python=python3"
139 - C:\tools\msys64\usr\bin\bash.exe -lc "cd build && make -j8"
141 - C:\tools\msys64\usr\bin\bash.exe -lc "cd build && make V=1 check"