2 :: Licensed under the Apache License
, Version
2.0 (the
"License");
3 :: you may
not use this file except in compliance with the License.
4 :: You may obtain a
copy of the License at
6 :: http
://www.apache.org
/licenses
/LICENSE
-2.0
8 :: Unless required by applicable law or agreed to in writing
, software
9 :: distributed under the License is distributed on an
"AS IS" BASIS
,
10 :: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
, either express or implied.
11 :: See the License
for the specific language governing permissions and
12 :: limitations under the License.
16 :: Appveyor install script
for MINGW on MSYS2
17 :: Installs third party packages we need
for a cmake build
21 SETLOCAL EnableDelayedExpansion
23 CD build
\appveyor ||
EXIT /B
24 CALL cl_banner_install.bat ||
EXIT /B
25 CALL cl_setenv.bat ||
EXIT /B
26 CALL cl_showenv.bat ||
EXIT /B
29 --needed
-S bison flex make ^
30 mingw
-w64
-%MINGWPLAT%-boost ^
31 mingw
-w64
-%MINGWPLAT%-cmake ^
32 mingw
-w64
-%MINGWPLAT%-libevent ^
33 mingw
-w64
-%MINGWPLAT%-openssl ^
34 mingw
-w64
-%MINGWPLAT%-toolchain ^
35 mingw
-w64
-%MINGWPLAT%-zlib
37 ::mingw-w64
-%MINGWPLAT%-qt5
: WAY too large
(1GB download
!) - tested in cygwin builds anyway
39 :: the following uninstall and system upgrade was causing issues
; appveyor
's is relatively new
40 :: Remove old packages that no longer exist to avoid an error
41 :: %BASH% -lc "pacman --noconfirm --remove libcatgets catgets || true" || EXIT /B
43 :: Remove incompatible packages 8.2.0-3 and 7.3.0-2 (mingw packaging bugs if you ask me!)
44 :: %BASH% -lc "pacman --noconfirm --remove mingw-w64-x86_64-gcc-ada mingw-w64-x86_64-gcc-objc || true" || EXIT /B
45 :: %BASH% -lc "pacman --noconfirm --remove mingw-w64-x86_64-gcc-ada mingw-w64-x86_64-gcc-objc || true" || EXIT /B
48 :: %BASH% -lc "pacman --noconfirm -Syu %IGNORE%" || EXIT /B
49 :: %BASH% -lc "pacman --noconfirm -Su %IGNORE%" || EXIT /B
51 %BASH% -lc "pacman --noconfirm %PACKAGES%" || EXIT /B