From 7f60b2aa79de5a2940f950e404242c9280d81c98 Mon Sep 17 00:00:00 2001 From: tbeu Date: Fri, 6 Sep 2024 18:42:46 +0200 Subject: [PATCH] Prefer crl over Start-FileDownload in AppVeyor [skip travis] [skip cirrus] As reported by https://github.com/appveyor/ci/issues/3930 --- .appveyor.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 478febe3..2c3b5711 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -16,12 +16,6 @@ platform: environment: matrix: - - compiler: MinGW - configuration: Release - build_with: autoconf - - compiler: Cygwin - configuration: Release - build_with: autoconf - compiler: MSVC configuration: Release build_with: cmake @@ -31,6 +25,12 @@ environment: - compiler: MSVC configuration: Release Lib build_with: msbuild + - compiler: MinGW + configuration: Release + build_with: autoconf + - compiler: Cygwin + configuration: Release + build_with: autoconf matrix: exclude: @@ -65,10 +65,10 @@ for: $env:HDF5_DIR="C:\projects\HDF5-1.8.13-win32" $env:sdk_platform_env="x86" If ($env:configuration -Match "Lib") { - Start-FileDownload 'https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.13/bin/windows/hdf5-1.8.13-win32-VS2010-static.zip' + curl -fsS -o hdf5-1.8.13-win32-VS2010-static.zip https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.13/bin/windows/hdf5-1.8.13-win32-VS2010-static.zip 7z x -y hdf5-1.8.13-win32-VS2010-static.zip | FIND "ing archive" } Else { - Start-FileDownload 'https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.13/bin/windows/hdf5-1.8.13-win32-VS2010-shared.zip' + curl -fsS -o hdf5-1.8.13-win32-VS2010-shared.zip https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.13/bin/windows/hdf5-1.8.13-win32-VS2010-shared.zip 7z x -y hdf5-1.8.13-win32-VS2010-shared.zip | FIND "ing archive" } 7z x -oC:\projects\HDF5-1.8.13-win32 -y hdf5-1.8.13\HDF5-1.8.13-win32.exe | FIND "ing archive" @@ -76,10 +76,10 @@ for: $env:HDF5_DIR="C:\projects\HDF5-1.8.13-win64" $env:sdk_platform_env="x64" If ($env:configuration -Match "Lib") { - Start-FileDownload 'https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.13/bin/windows/hdf5-1.8.13-win64-VS2010-static.zip' + curl -fsS -o hdf5-1.8.13-win32-VS2010-static.zip https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.13/bin/windows/hdf5-1.8.13-win32-VS2010-static.zip 7z x -y hdf5-1.8.13-win64-VS2010-static.zip | FIND "ing archive" } Else { - Start-FileDownload 'https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.13/bin/windows/hdf5-1.8.13-win64-VS2010-shared.zip' + curl -fsS -o hdf5-1.8.13-win32-VS2010-shared.zip https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.13/bin/windows/hdf5-1.8.13-win32-VS2010-shared.zip 7z x -y hdf5-1.8.13-win64-VS2010-shared.zip | FIND "ing archive" } 7z x -oC:\projects\HDF5-1.8.13-win64 -y hdf5-1.8.13\HDF5-1.8.13-win64.exe | FIND "ing archive"