Skip to content

Commit

Permalink
Workaround Start-FileDownload TLS issue in AppVeyor [skip travis] [sk…
Browse files Browse the repository at this point in the history
…ip cirrus]

As reported by appveyor/ci#3930
  • Loading branch information
tbeu committed Sep 9, 2024
1 parent 8407b4e commit c335ecb
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,27 +60,24 @@ for:
- compiler: MSVC

install:
- git clone https://github.com/tbeu/matio-ci ./.ci/ci
- ps: >-
If ($env:Platform -Match "Win32") {
$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'
7z x -y hdf5-1.8.13-win32-VS2010-static.zip | FIND "ing archive"
7z x -y .\.ci\ci\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'
7z x -y hdf5-1.8.13-win32-VS2010-shared.zip | FIND "ing archive"
7z x -y .\.ci\ci\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"
} Else {
$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'
7z x -y hdf5-1.8.13-win64-VS2010-static.zip | FIND "ing archive"
7z x -y .\.ci\ci\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'
7z x -y hdf5-1.8.13-win64-VS2010-shared.zip | FIND "ing archive"
7z x -y .\.ci\ci\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"
}
Expand Down

0 comments on commit c335ecb

Please sign in to comment.