فهرست منبع

upgrade images to vs2019

Nicolas Cannasse 3 سال پیش
والد
کامیت
77d0dd69ee
2فایلهای تغییر یافته به همراه7 افزوده شده و 7 حذف شده
  1. 5 5
      azure-pipelines.yml
  2. 2 2
      other/azure-pipelines/build-windows.yml

+ 5 - 5
azure-pipelines.yml

@@ -36,18 +36,18 @@ stages:
       - template: other/azure-pipelines/build-windows.yml
         parameters:
           name: Windows64_CMake
-          vmImage: 'vs2017-win2016'
+          vmImage: 'windows2019'
           buildSystem: cmake
-          cmakeGenerator: 'Visual Studio 15 2017 Win64'
+          cmakeGenerator: 'Visual Studio 16 2019 Win64'
       - template: other/azure-pipelines/build-windows.yml
         parameters:
           name: Windows32_CMake
-          vmImage: 'vs2017-win2016'
+          vmImage: 'windows2019'
           buildSystem: cmake
-          cmakeGenerator: 'Visual Studio 15 2017'
+          cmakeGenerator: 'Visual Studio 16 2019'
 
       - template: other/azure-pipelines/build-windows.yml
         parameters:
           name: Windows_VS
-          vmImage: 'vs2017-win2016'
+          vmImage: 'windows2019'
           buildSystem: vs

+ 2 - 2
other/azure-pipelines/build-windows.yml

@@ -17,7 +17,7 @@ jobs:
         MARCH: 32
         FFMPEG_URL: https://github.com/HaxeFoundation/hashlink/files/5648055/ffmpeg-3.4.2-win32-dev.zip
     steps:
-      - ${{ if eq(parameters.vmImage, 'vs2017-win2016') }}:
+      - ${{ if eq(parameters.vmImage, 'windows2019') }}:
         - powershell: |
             Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
             Write-Host "##vso[task.prependpath]C:\ProgramData\chocolatey\bin"
@@ -66,7 +66,7 @@ jobs:
         - task: PublishPipelineArtifact@1
           inputs:
             artifactName: ${{ parameters.name }}Binaries
-            targetPath: bin/hashlink-1.12.0-win$(MARCH).zip
+            targetPath: bin/hashlink-1.13.0-win$(MARCH).zip
       - ${{ if eq(parameters.buildSystem, 'vs') }}:
         - task: MSBuild@1
           inputs: