ICU-20281 Reenable the VS2015 build bot. Use manual install of Py3.
authorJeff Genovy <Jeff.Genovy@microsoft.com>
Wed, 21 Nov 2018 06:47:25 +0000 (22:47 -0800)
committerJeff Genovy <29107334+jefgen@users.noreply.github.com>
Wed, 21 Nov 2018 21:14:04 +0000 (13:14 -0800)
.ci-builds/.azure-pipelines.yml

index b080a658034b1645b5490d49eaa49bea95e8c31e..274f7ebb1755d2a7d3c2ebae356ae686a11527c0 100644 (file)
@@ -81,27 +81,34 @@ jobs:
         filename: icu4c/source/allinone/icucheck.bat
         arguments: 'x86 Release'
 #-------------------------------------------------------------------------
-# Disabled until the VS2015 image has Python 3 working.
+# Using a manual install of Python 3, until the vs2015 image has it 
+# by default.
 #
-#- job: ICU4C_MSVC_x64_Release_VS2015
-#  displayName: 'C: MSVC 64-bit Release (VS 2015)'
-#  timeoutInMinutes: 30
-#  pool:
-#    vmImage: 'vs2015-win2012r2'
-#    demands: 
-#      - msbuild
-#      - visualstudio
-#      - Cmd
-#  steps:
-#    - task: VSBuild@1
-#      displayName: 'Build Solution'
-#      inputs:
-#        solution: icu4c/source/allinone/allinone.sln
-#        platform: x64
-#        configuration: Release
-#        msbuildArgs: '/p:SkipUWP=true'
-#    - task: BatchScript@1
-#      displayName: 'Run Tests (icucheck.bat)'
-#      inputs:
-#        filename: icu4c/source/allinone/icucheck.bat
-#        arguments: 'x64 Release'
\ No newline at end of file
+- job: ICU4C_MSVC_x64_Release_VS2015
+  displayName: 'C: MSVC 64-bit Release (VS 2015)'
+  timeoutInMinutes: 30
+  pool:
+    vmImage: 'vs2015-win2012r2'
+    demands: 
+      - msbuild
+      - visualstudio
+      - Cmd
+  steps:
+    - powershell: 'Invoke-WebRequest https://www.python.org/ftp/python/3.7.1/python-3.7.1-amd64-webinstall.exe -OutFile c:\py3-setup.exe'
+    - script: |
+        c:\py3-setup.exe /quiet PrependPath=1 InstallAllUsers=1 Include_launcher=1 InstallLauncherAllUsers=1 Include_test=0 Include_doc=0 Include_dev=0 Include_debug=0 Include_tcltk=0 TargetDir=c:\py3
+    - script: |
+        python --version
+        py -3 --version
+    - task: VSBuild@1
+      displayName: 'Build Solution'
+      inputs:
+        solution: icu4c/source/allinone/allinone.sln
+        platform: x64
+        configuration: Release
+        msbuildArgs: '/p:SkipUWP=true'
+    - task: BatchScript@1
+      displayName: 'Run Tests (icucheck.bat)'
+      inputs:
+        filename: icu4c/source/allinone/icucheck.bat
+        arguments: 'x64 Release'
\ No newline at end of file