James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 1 | :: |
| 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 |
| 21 | SETLOCAL EnableDelayedExpansion |
| 22 | |
Mario Emmenlauer | e14ac85 | 2021-08-05 09:33:50 +0200 | [diff] [blame] | 23 | CD build\appveyor || EXIT /B |
Mario Emmenlauer | 9e3ac85 | 2021-08-05 12:42:21 +0200 | [diff] [blame] | 24 | CALL win_banner_install.bat || EXIT /B |
| 25 | CALL win_setenv.bat || EXIT /B |
| 26 | CALL win_showenv.bat || EXIT /B |
Mario Emmenlauer | e14ac85 | 2021-08-05 09:33:50 +0200 | [diff] [blame] | 27 | MKDIR "%WIN3P%" || EXIT /B |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 28 | |
James E. King III | 860a5f1 | 2018-03-06 14:23:23 -0500 | [diff] [blame] | 29 | choco feature enable -n allowGlobalConfirmation || EXIT /B |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 30 | |
James E. King III | 860a5f1 | 2018-03-06 14:23:23 -0500 | [diff] [blame] | 31 | :: Things to install when NOT running in appveyor: |
| 32 | IF "%APPVEYOR_BUILD_ID%" == "" ( |
Mario Emmenlauer | e14ac85 | 2021-08-05 09:33:50 +0200 | [diff] [blame] | 33 | 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 III | 860a5f1 | 2018-03-06 14:23:23 -0500 | [diff] [blame] | 38 | ) |
| 39 | |
Mario Emmenlauer | e14ac85 | 2021-08-05 09:33:50 +0200 | [diff] [blame] | 40 | cinst -y jdk8 || EXIT /B |
| 41 | cinst -y winflexbison3 || EXIT /B |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 42 | |
James E. King III | 860a5f1 | 2018-03-06 14:23:23 -0500 | [diff] [blame] | 43 | :: zlib - not available through chocolatey |
Mario Emmenlauer | e14ac85 | 2021-08-05 09:33:50 +0200 | [diff] [blame] | 44 | CD "%APPVEYOR_SCRIPTS%" || EXIT /B |
| 45 | call build-zlib.bat || EXIT /B |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 46 | |
James E. King III | 860a5f1 | 2018-03-06 14:23:23 -0500 | [diff] [blame] | 47 | :: libevent - not available through chocolatey |
Mario Emmenlauer | e14ac85 | 2021-08-05 09:33:50 +0200 | [diff] [blame] | 48 | CD "%APPVEYOR_SCRIPTS%" || EXIT /B |
| 49 | call build-libevent.bat || EXIT /B |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 50 | |
Mario Emmenlauer | 9e3ac85 | 2021-08-05 12:42:21 +0200 | [diff] [blame] | 51 | :: python packages (correct path to pip set in win_setenv.bat) |
James E. King III | 860a5f1 | 2018-03-06 14:23:23 -0500 | [diff] [blame] | 52 | pip.exe ^ |
| 53 | install backports.ssl_match_hostname ^ |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 54 | ipaddress ^ |
James E. King III | 860a5f1 | 2018-03-06 14:23:23 -0500 | [diff] [blame] | 55 | six ^ |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 56 | tornado ^ |
Mario Emmenlauer | e14ac85 | 2021-08-05 09:33:50 +0200 | [diff] [blame] | 57 | twisted || EXIT /B |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 58 | |
James E. King III | 6c26e09 | 2019-02-07 12:48:27 -0500 | [diff] [blame] | 59 | :: Adobe Flex SDK 4.6 for ActionScript |
Mario Emmenlauer | e14ac85 | 2021-08-05 09:33:50 +0200 | [diff] [blame] | 60 | MKDIR "C:\Adobe\Flex\SDK\4.6" || EXIT /B |
James E. King III | 6c26e09 | 2019-02-07 12:48:27 -0500 | [diff] [blame] | 61 | appveyor 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 Emmenlauer | e14ac85 | 2021-08-05 09:33:50 +0200 | [diff] [blame] | 62 | CD "C:\Adobe\Flex\SDK\4.6" || EXIT /B |
| 63 | 7z x SDK.zip || EXIT /B |
James E. King III | 6c26e09 | 2019-02-07 12:48:27 -0500 | [diff] [blame] | 64 | SETX FLEX_HOME "C:\Adobe\Flex\SDK\4.6" |