diff --git a/appveyor.yml b/appveyor.yml index 0810e32159..2ab96b8a4c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -10,15 +10,28 @@ environment: build_compiler: "mingw" build_bindings: 1 SDK_VERSION: 2.0.0 + - build_platform: "x86" + build_compiler: "mingw" + build_bindings: 1 + SDK_VERSION: 1.5.0 + # cache: # - src/ # preserve "packages" directory in the root of build folder but will reset it if packages.config is modified install: - - choco sources add -name kireevco -source 'https://www.myget.org/F/kireevco-chocolatey/' - - choco install -y esp8266-udk wget curl -# - C:\MinGW\bin\mingw-get install - - mkdir c:\Espressif\utils\ESP8266 - - cp c:\Espressif\utils\memanalyzer.exe c:\Espressif\utils\ESP8266\memanalyzer.exe - - cp c:\Espressif\utils\esptool.exe c:\Espressif\utils\ESP8266\esptool.exe + - choco sources add -name sming -source 'https://www.myget.org/F/sming/' + - ps: if($env:SDK_VERSION -eq '1.5.0') { + choco install esp8266-udk --source https://www.myget.org/F/kireevco-chocolatey/; + mkdir c:\Espressif\utils\ESP8266; + cp c:\Espressif\utils\memanalyzer.exe c:\Espressif\utils\ESP8266\memanalyzer.exe; + cp c:\Espressif\utils\esptool.exe c:\Espressif\utils\ESP8266\esptool.exe; + } + else { + choco install esp8266-udk + } + + + +# Install esptool2 - git clone https://github.com/raburton/esptool2 - cd esptool2 - make