diff --git a/CI/install_deps_win.ps1 b/CI/install_deps_win.ps1 index 142f7a788..af3f05130 100644 --- a/CI/install_deps_win.ps1 +++ b/CI/install_deps_win.ps1 @@ -1,4 +1,6 @@ +$ARCH=$Env:ARCH + git submodule update --init if (!(Test-Path deps)) { @@ -7,7 +9,12 @@ if (!(Test-Path deps)) { cd deps mkdir libxml -wget https://www.zlatkovic.com/pub/libxml/64bit/libxml2-2.9.3-win32-x86_64.7z -OutFile "libxml.7z" + +if ( "$ARCH" -eq "x64" ) { + wget https://www.zlatkovic.com/pub/libxml/64bit/libxml2-2.9.3-win32-x86_64.7z -OutFile "libxml.7z" +} else { + wget https://www.zlatkovic.com/pub/libxml/64bit/libxml2-2.9.3-win32-x86.7z -OutFile "libxml.7z" +} 7z x -y libxml.7z rm libxml.7z diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 680a434c9..7af3315f5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -110,12 +110,12 @@ jobs: - job: WindowsBuilds strategy: matrix: - VS2017: - imageName: 'vs2017-win2016' - COMPILER: 'Visual Studio 15 2017' - ARCH: 'x64' - artifactName: 'Windows-VS-15-2017-x64' - VS2019: + VS2019_Win32: + imageName: 'windows-2019' + COMPILER: 'Visual Studio 16 2019' + ARCH: 'Win32' + artifactName: 'Windows-VS-16-2019-Win32' + VS2019_Win64: imageName: 'windows-2019' COMPILER: 'Visual Studio 16 2019' ARCH: 'x64'