blob: 509b3469a8882e2f8118e39ceff38c261c035c97 [file] [log] [blame]
James E. King, III07f59972017-03-10 06:18:33 -05001::
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
5::
6:: http://www.apache.org/licenses/LICENSE-2.0
7::
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.
13::
14
15::
16:: Appveyor install script for MSVC
17:: Installs (or builds) third party packages we need
18::
19
20@ECHO OFF
21SETLOCAL EnableDelayedExpansion
22
Mario Emmenlauere14ac852021-08-05 09:33:50 +020023CD build\appveyor || EXIT /B
Mario Emmenlauer9e3ac852021-08-05 12:42:21 +020024CALL win_banner_install.bat || EXIT /B
25CALL win_setenv.bat || EXIT /B
26CALL win_showenv.bat || EXIT /B
Mario Emmenlauere14ac852021-08-05 09:33:50 +020027MKDIR "%WIN3P%" || EXIT /B
James E. King, III07f59972017-03-10 06:18:33 -050028
James E. King III860a5f12018-03-06 14:23:23 -050029choco feature enable -n allowGlobalConfirmation || EXIT /B
James E. King, III07f59972017-03-10 06:18:33 -050030
James E. King III860a5f12018-03-06 14:23:23 -050031:: Things to install when NOT running in appveyor:
32IF "%APPVEYOR_BUILD_ID%" == "" (
Mario Emmenlauere14ac852021-08-05 09:33:50 +020033 cup -y chocolatey || EXIT /B
34 cinst -y curl || EXIT /B
35 cinst -y 7zip || EXIT /B
36 cinst -y python3 || EXIT /B
37 cinst -y openssl.light || EXIT /B
James E. King III860a5f12018-03-06 14:23:23 -050038)
39
Mario Emmenlauere14ac852021-08-05 09:33:50 +020040cinst -y jdk8 || EXIT /B
41cinst -y winflexbison3 || EXIT /B
James E. King, III07f59972017-03-10 06:18:33 -050042
James E. King III860a5f12018-03-06 14:23:23 -050043:: zlib - not available through chocolatey
Mario Emmenlauere14ac852021-08-05 09:33:50 +020044CD "%APPVEYOR_SCRIPTS%" || EXIT /B
45call build-zlib.bat || EXIT /B
James E. King, III07f59972017-03-10 06:18:33 -050046
James E. King III860a5f12018-03-06 14:23:23 -050047:: libevent - not available through chocolatey
Mario Emmenlauere14ac852021-08-05 09:33:50 +020048CD "%APPVEYOR_SCRIPTS%" || EXIT /B
49call build-libevent.bat || EXIT /B
James E. King, III07f59972017-03-10 06:18:33 -050050
Mario Emmenlauer9e3ac852021-08-05 12:42:21 +020051:: python packages (correct path to pip set in win_setenv.bat)
James E. King III860a5f12018-03-06 14:23:23 -050052pip.exe ^
53 install backports.ssl_match_hostname ^
James E. King, III07f59972017-03-10 06:18:33 -050054 ipaddress ^
James E. King III860a5f12018-03-06 14:23:23 -050055 six ^
James E. King, III07f59972017-03-10 06:18:33 -050056 tornado ^
Mario Emmenlauere14ac852021-08-05 09:33:50 +020057 twisted || EXIT /B
James E. King, III07f59972017-03-10 06:18:33 -050058
James E. King III6c26e092019-02-07 12:48:27 -050059:: Adobe Flex SDK 4.6 for ActionScript
Mario Emmenlauere14ac852021-08-05 09:33:50 +020060MKDIR "C:\Adobe\Flex\SDK\4.6" || EXIT /B
James E. King III6c26e092019-02-07 12:48:27 -050061appveyor DownloadFile http://download.macromedia.com/pub/flex/sdk/flex_sdk_4.6.zip -FileName C:\Adobe\Flex\SDK\4.6\SDK.zip || EXIT /B
Mario Emmenlauere14ac852021-08-05 09:33:50 +020062CD "C:\Adobe\Flex\SDK\4.6" || EXIT /B
637z x SDK.zip || EXIT /B
James E. King III6c26e092019-02-07 12:48:27 -050064SETX FLEX_HOME "C:\Adobe\Flex\SDK\4.6"