This repository has been archived by the owner on Jan 6, 2020. It is now read-only.
forked from tbeu/matio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
63 lines (57 loc) · 2.39 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
clone_depth: 5
platform:
- Win32
- x64
environment:
matrix:
- configuration: Release
- configuration: Release Lib
before_build:
- 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"
} 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"
} 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"
} 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"
}
- 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
build:
project: visual_studio/matio.sln
verbosity: normal
test: off
artifacts:
- path: visual_studio\Release\libmatio.lib
name: libmatio.lib
- path: visual_studio\Release\libmatio.dll
name: libmatio.dll
- path: visual_studio\x64\Release\libmatio.lib
name: libmatio.lib
- path: visual_studio\x64\Release\libmatio.dll
name: libmatio.dll
- path: visual_studio\Release Lib\libmatio.lib
name: libmatio.lib
- path: visual_studio\x64\Release Lib\libmatio.lib
name: libmatio.lib
- path: visual_studio\matio_pubconf.h
name: matio_pubconf.h
- path: src\matio.h
name: matio.h