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 e19ab9d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -62,33 +62,30 @@ for:
install:
- ps: >-
If ($env:Platform -Match "Win32") {
$env:HDF5_DIR="C:\projects\HDF5-1.8.13-win32"
$env:HDF5_DIR="C:\projects\matio\.ci\ci\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"
} 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 -oC:\projects\HDF5-1.8.13-win32 -y hdf5-1.8.13\HDF5-1.8.13-win32.exe | FIND "ing archive"
7z x -oC:\projects\matio\.ci\ci\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:HDF5_DIR="C:\projects\matio\.ci\ci\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"
} 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 -oC:\projects\HDF5-1.8.13-win64 -y hdf5-1.8.13\HDF5-1.8.13-win64.exe | FIND "ing archive"
7z x -oC:\projects\matio\.ci\ci\HDF5-1.8.13-win64 -y hdf5-1.8.13\HDF5-1.8.13-win64.exe | FIND "ing archive"
}
- ps: $env:CONFIGURATION_OLD=$env:configuration
- call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /Release /%sdk_platform_env%
- ps: $env:configuration=$env:CONFIGURATION_OLD

before_build:
- git submodule update --init
- ps: >-
If ($env:APPVEYOR_JOB_NAME -like "*build_with=cmake*") {
If ($env:Platform -Match "Win32") {
Expand Down
1 change: 1 addition & 0 deletions .ci/ci
Submodule ci added at 814b55
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "test/datasets"]
path = test/datasets
url = git://git.code.sf.net/p/matio/matio_test_datasets
[submodule ".ci/ci"]
path = .ci/ci
url = https://github.com/tbeu/matio-ci.git

0 comments on commit e19ab9d

Please sign in to comment.