-
Notifications
You must be signed in to change notification settings - Fork 2
/
.cirrus.yml
32 lines (32 loc) · 926 Bytes
/
.cirrus.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
# Copyright (c) Christopher Di Bella.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
task:
container:
dockerfile: config/ci/Dockerfile
cpu: 2
memory: 2G
env:
PROFILE: ${HOME}/.conan/profiles/default
matrix:
- COMPILER: gcc-9
- COMPILER: clang-9-libstdcxx
- COMPILER: clang-9-libcxx
matrix:
- BUILD_TYPE: Debug
- BUILD_TYPE: Release
pre_conan_install_script:
- conan config install config/conan
conan_install_script:
- mkdir -p build-${COMPILER}-${BUILD_TYPE}
- cd build-${COMPILER}-${BUILD_TYPE}
- conan install .. --profile=${COMPILER} --settings build_type=${BUILD_TYPE}
conan_build_configure_script:
- cd build-${COMPILER}-${BUILD_TYPE}
- conan build .. --configure
build_script:
- cd build-${COMPILER}-${BUILD_TYPE}
- ninja -v
test_script:
- cd build-${COMPILER}-${BUILD_TYPE}
- conan build .. --test