forked from sandialabs/seacas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
86 lines (75 loc) · 2.62 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
image: Visual Studio 2019
environment:
matrix:
- TARGET_ARCH: x64
CONDA_INSTALL_LOCN: C:\\Miniconda-x64
MSYS2_INSTALL_LOCN: C:\msys64
MSYS2_BIN_LOCN: C:\msys64\usr\bin
CMAKE_GENERATOR: "Visual Studio 16 2019"
SUPPRESSIONS: "/wd4478"
VCPKG_DEFAULT_TRIPLET: "x64-windows"
VCPKG_BUILD_TYPE: "release"
LIB_ROOT: C:\Tools\vcpkg\installed\%VCPKG_DEFAULT_TRIPLET%
MINGW_DIR: C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin
platform:
- x64
branches:
except:
- /.*[.]dmh/
- /.*[.]wif/
# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true
init:
- cmd: set PATH=%MINGW_DIR%;%PATH%
install:
- cmd: set SRC_DIR=%cd%
- cmd: set INSTALL_LOC=%SRC_DIR%\install
- cmd: set PATH=%PATH%;%MSYS2_BIN_LOCN%;%INSTALL_LOC%\bin;%INSTALL_LOC%\lib
- cmd: vcpkg install netcdf-c
- cmd: vcpkg install matio
- cmd: vcpkg install fmt
- cmd: vcpkg integrate install
configuration: Release
build: off
# Run a custom script.
build_script:
- cmd: mkdir build
- cmd: cd build
- cmd: cmake .. -G "%CMAKE_GENERATOR%" ^
-DCMAKE_TOOLCHAIN_FILE=C:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake ^
-DBUILD_SHARED_LIBS:BOOL=OFF ^
-DCMAKE_BUILD_TYPE=Release ^
-DCMAKE_CXX_FLAGS="%SUPPRESSIONS% /EHsc" ^
-DCMAKE_C_FLAGS="%SUPPRESSIONS%" ^
-DCMAKE_INSTALL_PREFIX=%INSTALL_LOC% ^
-DHDF5_ROOT:PATH=%LIB_ROOT% ^
-DMatio_INCLUDE_DIRS:PATH=%LIB_ROOT%\include ^
-DMatio_LIBRARIES:PATH=%LIB_ROOT%\lib\libmatio.lib ^
-DNetCDF_ROOT:PATH=%LIB_ROOT% ^
-DSEACASExodus_ENABLE_THREADSAFE:BOOL=OFF ^
-DSEACASIoss_ENABLE_THREADSAFE:BOOL=OFF ^
-DSeacas_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON ^
-DSeacas_ENABLE_ALL_PACKAGES:BOOL=ON ^
-DSeacas_ENABLE_DOXYGEN:BOOL=OFF ^
-DSeacas_ENABLE_Fortran=OFF ^
-DSeacas_ENABLE_SEACAS:BOOL=ON ^
-DSeacas_ENABLE_SECONDARY_TESTED_CODE:BOOL=ON ^
-DSeacas_ENABLE_TESTS=ON ^
-DSeacas_ENABLE_Zoltan:BOOL=OFF ^
-DSeacas_HIDE_DEPRECATED_CODE:BOOL=ON ^
-DSeacas_SKIP_FORTRANCINTERFACE_VERIFY_TEST:BOOL=ON ^
-DTPL_ENABLE_ADIOS2:BOOL=OFF ^
-DTPL_ENABLE_CGNS:BOOL=OFF ^
-DTPL_ENABLE_Kokkos:BOOL=OFF ^
-DTPL_ENABLE_MPI:BOOL=OFF ^
-DTPL_ENABLE_Matio:BOOL=ON ^
-DTPL_ENABLE_Netcdf:BOOL=ON ^
-DTPL_ENABLE_Pamgen:BOOL=OFF ^
-DTPL_ENABLE_Pthread:BOOL=OFF ^
-DTPL_ENABLE_X11:BOOL=OFF ^
-DCMAKE_SH="CMAKE_SH-NOTFOUND" ^
-DTPL_ENABLE_gtest:BOOL=OFF
- cmd: if errorlevel 1 exit 1
- cmd: cmake --build . --config %configuration% -- /maxcpucount:4
test_script:
- cmd: ctest --output-on-failure --build-config Release