From 7f8bd7d11e71cd3ffbd065254227bf4ec900bab6 Mon Sep 17 00:00:00 2001 From: FrancisANDRE Date: Sun, 20 Dec 2015 21:10:43 +0100 Subject: [PATCH] Restore MySQL for Win32 Signed-off-by: FrancisANDRE --- appveyor.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 052ad5098..f207ef72a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,7 +1,7 @@ version: poco-1.7.0 {branch}-{build} cache: -# - c:\mysql-5.7.9-win32 + - c:\mysql-5.7.9-win32 - C:\ProgramData\chocolatey hosts: @@ -101,20 +101,20 @@ install: } # MySQL 32 bit is not available by default on AppVeyor -# - ps: | -# if ($env:platform -eq "Win32") -# { -# if (Test-Path "c:\mysql-5.7.9-win32") { -# echo "using mysql-5.7.9-win32 from cache" -# } -# else -# { -# echo "downloading mysql-5.7.9-win32" -# Invoke-WebRequest "http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.9-win32.zip" -OutFile mysql-5.7.9-win32.zip -# echo "installing mysql-5.7.9-win32" -# 7z x -y mysql-5.7.9-win32.zip -oc:\ -# } -# } + - ps: | + if ($env:platform -eq "Win32") + { + if (Test-Path "c:\mysql-5.7.9-win32") { + echo "using mysql-5.7.9-win32 from cache" + } + else + { + echo "downloading mysql-5.7.9-win32" + Invoke-WebRequest "http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.9-win32.zip" -OutFile mysql-5.7.9-win32.zip + echo "installing mysql-5.7.9-win32" + 7z x -y mysql-5.7.9-win32.zip -oc:\ + } + } before_build: - set POCO_BASE=%CD%