forked from ElectronicStructureLibrary/libxc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
47 lines (42 loc) · 1000 Bytes
/
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
clone_depth: 1
platform:
- x64
image:
- Visual Studio 2015
- Visual Studio 2017
- Visual Studio 2019
- Ubuntu1604
- Ubuntu1804
- macos
configuration:
- Debug
- Release
before_build:
- mkdir libxc_build && cd libxc_build
- cmd: cmake -A %PLATFORM%
-DCMAKE_BUILD_TYPE=%CONFIGURATION%
-DENABLE_XHOST=OFF
-DDISABLE_KXC=ON
-DDISABLE_LXC=ON
-DCMAKE_C_FLAGS="/wd4101 /wd4996"
..
- sh: cmake
-DCMAKE_BUILD_TYPE=$CONFIGURATION
-DENABLE_XHOST=OFF
-DDISABLE_KXC=ON
-DDISABLE_LXC=ON
..
build_script:
- cmd: cmake --build .
--config %CONFIGURATION%
--parallel 2
- sh: cmake --build .
--config $CONFIGURATION
--parallel 2
test_script:
- cmd: ctest --build-config %CONFIGURATION%
--output-on-failure
--parallel 2
- sh: ctest --build-config $CONFIGURATION
--output-on-failure
--parallel 2