Sfoglia il codice sorgente

Appveyor: install openssl

bel 10 anni fa
parent
commit
76c226324b
1 ha cambiato i file con 9 aggiunte e 0 eliminazioni
  1. 9 0
      appveyor.yml

+ 9 - 0
appveyor.yml

@@ -60,6 +60,13 @@ install:
   - if "%compiler_name%"=="gcc" (@set "mingw_log_folder=%mingw_output_folder%\logs")
   - if exist "%mingw_log_folder%" @for /f %%f in ('dir /b /oD /tc "%mingw_log_folder%"') do @set "mingw_log_file=%mingw_log_folder%\%%f"
   - if exist "%mingw_log_file%" powershell Push-AppveyorArtifact "%mingw_log_file%" -FileName mingw-download.log
+  # Get OpenSSL
+  - md c:\ssl\
+  - curl http://slproweb.com/download/Win32OpenSSL-1_0_2d.exe -o C:\ssl\Win32OpenSSL.exe  
+  - curl http://slproweb.com/download/Win64OpenSSL-1_0_2d.exe -o C:\ssl\Win64OpenSSL.exe
+  - C:\ssl\Win32OpenSSL.exe /SILENT /LOG="C:\ssl\install32.log"
+  - C:\ssl\Win64OpenSSL.exe /SILENT /LOG="C:\ssl\install64.log"
+  
 
 before_build:
   # Set up mingw commands
@@ -139,3 +146,5 @@ matrix:
 cache:
   - C:\mingw-builds -> mingw.cmd
   - C:\third-party -> **\CMakeLists.txt
+  - C:\ssl -> Win32OpenSSL.exe
+  - C:\ssl -> Win64OpenSSL.exe