1language: cpp
2
3git:
4  quiet: true
5  depth: 1
6
7env:
8  global:
9    - COMMON_CMAKE_OPTIONS="-DEXIV2_ENABLE_WEBREADY=ON -DEXIV2_ENABLE_CURL=ON -DEXIV2_BUILD_UNIT_TESTS=ON -DEXIV2_ENABLE_BMFF=ON -DEXIV2_TEAM_WARNINGS_AS_ERRORS=ON -DCMAKE_INSTALL_PREFIX=install"
10
11matrix:
12  include:
13    - name: "Ubuntu 18.04 - gcc-7.5 (Release)"
14      os: linux
15      dist: bionic
16      sudo: required
17      compiler: gcc
18      env:
19        - BUILD_TYPE="Release"
20
21    - name: "Ubuntu 18.04 - gcc-7.5 (Debug)"
22      os: linux
23      dist: bionic
24      sudo: required
25      compiler: gcc
26      env:
27        - BUILD_TYPE="Debug"
28
29    - name: "Ubuntu 20.04 - gcc-9.3 (Release)"
30      os: linux
31      dist: focal
32      sudo: required
33      compiler: gcc
34      env:
35        - BUILD_TYPE="Release"
36
37    - name: "Ubuntu 20.04 - gcc-9.3 (Debug)"
38      os: linux
39      dist: focal
40      sudo: required
41      compiler: gcc
42      env:
43        - BUILD_TYPE="Debug"
44
45    - name: "Ubuntu 20.04 - clang-7 (Release)"
46      os: linux
47      dist: focal
48      sudo: required
49      compiler: clang
50      env:
51        - BUILD_TYPE="Release"
52
53    - name: "Ubuntu 20.04 - clang-7 (Debug)"
54      os: linux
55      dist: focal
56      sudo: required
57      compiler: clang
58      env:
59        - BUILD_TYPE="Debug"
60
61    - name: "Ubuntu 20.04 - gcc-9.3 (Debug+Coverage)"
62      os: linux
63      dist: focal
64      sudo: required
65      compiler: gcc
66      env:
67        - BUILD_TYPE="Debug"
68        - WITH_COVERAGE=1
69
70    - name: "Ubuntu 20.04 - gcc-9.3 (Release+Valgrind)"
71      os: linux
72      dist: focal
73      sudo: required
74      compiler: gcc
75      env:
76        - BUILD_TYPE="Release"
77        - WITH_VALGRIND=1
78
79    - name: "Ubuntu 20.04 - gcc-9.3 (Release+Sanitizers)"
80      os: linux
81      dist: focal
82      sudo: required
83      compiler: gcc
84      env:
85        - BUILD_TYPE="Release"
86        - WITH_SANITIZERS=1
87
88    - name: "macOS 10.14 - XCode 11.3 (Release)"
89      os: osx
90      osx_image: xcode11.3
91      compiler: clang
92      env:
93        - BUILD_TYPE="Release"
94
95    - name: "macOS 10.14 - XCode 11.3 (Debug)"
96      os: osx
97      osx_image: xcode11.3
98      compiler: clang
99      env:
100        - BUILD_TYPE="Debug"
101
102install: ./ci/install.sh
103script:  ./ci/run.sh
104
105cache:
106    ccache: true
107    directories:
108    - conan         # Conan installation folder
109    - $HOME/conanData     # Conan storage location
110