浏览代码

[ci] temporarily(?) use our own ffmpeg copy (see #427)

Dan Korostelev 4 年之前
父节点
当前提交
088b383230
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      other/azure-pipelines/build-windows.yml

+ 3 - 1
other/azure-pipelines/build-windows.yml

@@ -12,8 +12,10 @@ jobs:
     variables:
       ${{ if endsWith(parameters.cmakeGenerator, 'Win64') }}:
         MARCH: 64
+        FFMPEG_URL: https://github.com/HaxeFoundation/hashlink/files/5648056/ffmpeg-3.4.2-win64-dev.zip
       ${{ if not(endsWith(parameters.cmakeGenerator, 'Win64')) }}:
         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') }}:
         - powershell: |
@@ -33,7 +35,7 @@ jobs:
           Remove-Item openal.zip
         displayName: Install openal
       - powershell: |
-          Invoke-WebRequest https://ffmpeg.zeranoe.com/builds/win$(MARCH)/dev/ffmpeg-3.4.2-win$(MARCH)-dev.zip -OutFile ffmpeg.zip
+          Invoke-WebRequest $(FFMPEG_URL) -OutFile ffmpeg.zip
           Expand-Archive ffmpeg.zip -DestinationPath .
           Move-Item ffmpeg-* include/ffmpeg
           Remove-Item ffmpeg.zip