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)
36 # this is an alias for the latest Xcode
39 - brew install pkg-config gnu-sed glib pixman make sdl2 bash ninja
43 - ../configure --extra-cflags='-Wno-error=deprecated-declarations' --enable-modules
44 --enable-werror --cc=clang || { cat config.log meson-logs/meson-log.txt; exit 1; }
45 - gmake -j$(sysctl -n hw.ncpu)
51 image: cirrusci/windowsservercore:2019
56 CIRRUS_SHELL: powershell
57 MSYS: winsymlinks:nativestrict
61 - choco install -y --no-progress 7zip
62 - Write-Output $env:PATH
64 folder: C:\tools\archive
65 reupload_on_changes: false
66 fingerprint_script: cat .cirrus.yml
71 $start_time = Get-Date
73 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
74 Write-Output "Download time taken: $((Get-Date).Subtract($start_time).Seconds) second(s)"
76 ((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
77 C:\tools\msys64\usr\bin\bash.exe -lc "sed -i 's/^CheckSpace/#CheckSpace/g' /etc/pacman.conf"
78 C:\tools\msys64\usr\bin\bash.exe -lc "export"
79 C:\tools\msys64\usr\bin\pacman.exe --noconfirm -Sy
80 echo Y | C:\tools\msys64\usr\bin\pacman.exe --noconfirm -Suu --overwrite=*
81 taskkill /F /FI "MODULES eq msys-2.0.dll"
83 C:\tools\msys64\usr\bin\bash.exe -lc "mv -f /etc/pacman.conf.pacnew /etc/pacman.conf || true"
84 C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -Suu --overwrite=*"
85 C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -S --needed \
86 diffutils git grep make pkg-config sed \
87 mingw-w64-x86_64-python \
88 mingw-w64-x86_64-python-setuptools \
89 mingw-w64-x86_64-toolchain \
90 mingw-w64-x86_64-SDL2 \
91 mingw-w64-x86_64-SDL2_image \
92 mingw-w64-x86_64-gtk3 \
93 mingw-w64-x86_64-glib2 \
94 mingw-w64-x86_64-ninja \
95 mingw-w64-x86_64-jemalloc \
96 mingw-w64-x86_64-lzo2 \
97 mingw-w64-x86_64-zstd \
98 mingw-w64-x86_64-libjpeg-turbo \
99 mingw-w64-x86_64-pixman \
100 mingw-w64-x86_64-libgcrypt \
101 mingw-w64-x86_64-libpng \
102 mingw-w64-x86_64-libssh \
103 mingw-w64-x86_64-libxml2 \
104 mingw-w64-x86_64-snappy \
105 mingw-w64-x86_64-libusb \
106 mingw-w64-x86_64-usbredir \
107 mingw-w64-x86_64-libtasn1 \
108 mingw-w64-x86_64-nettle \
109 mingw-w64-x86_64-cyrus-sasl \
110 mingw-w64-x86_64-curl \
111 mingw-w64-x86_64-gnutls \
112 mingw-w64-x86_64-libnfs \
114 bitsadmin /transfer msys_download /dynamic /download /priority FOREGROUND `
115 https://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-python-sphinx-2.3.1-1-any.pkg.tar.xz `
116 C:\tools\mingw-w64-x86_64-python-sphinx-2.3.1-1-any.pkg.tar.xz
117 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"
118 del C:\tools\mingw-w64-x86_64-python-sphinx-2.3.1-1-any.pkg.tar.xz
119 C:\tools\msys64\usr\bin\bash.exe -lc "rm -rf /var/cache/pacman/pkg/*"
122 cmd /C "7z a -ttar . -so | 7z a -txz -simsys2-x86_64.tar C:\tools\archive\msys2-x86_64.tar.xz"
126 cmd /C "7z x C:\tools\archive\msys2-x86_64.tar.xz -so | 7z x -aoa -simsys2-x86_64.tar -ttar -omsys64"
127 C:\tools\msys64\usr\bin\bash.exe -lc "export"
130 - C:\tools\msys64\usr\bin\bash.exe -lc "mkdir build"
131 - C:\tools\msys64\usr\bin\bash.exe -lc "cd build && ../configure --python=python3"
132 - C:\tools\msys64\usr\bin\bash.exe -lc "cd build && make -j8"
134 - C:\tools\msys64\usr\bin\bash.exe -lc "cd build && make V=1 check"