-
Notifications
You must be signed in to change notification settings - Fork 134
54 lines (48 loc) · 1.66 KB
/
ci_builds.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
name: CI Builds
on: [push]
jobs:
ci_workflow_test:
name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- {
name: "Windows",
os: windows-latest
}
- {
name: "Ubuntu",
os: ubuntu-latest
}
- {
name: "macOS",
os: macos-latest
}
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Conan
run: |
python -m pip install --upgrade pip
pip install conan
conan --version
conan profile detect
- name: "Build: compiled, shared, boost"
run: conan create CDT/ -o as_compiled_library=True -o shared=True -o use_boost=True -o enable_testing=True --build missing
- name: "Build: compiled, shared, without boost"
run: conan create CDT/ -o as_compiled_library=True -o shared=True -o use_boost=False -o enable_testing=True
- name: "Build: compiled, static, boost"
run: conan create CDT/ -o as_compiled_library=True -o use_boost=True -o enable_testing=True --build missing
- name: "Build: compiled, static, without boost"
run: conan create CDT/ -o as_compiled_library=True -o use_boost=False -o enable_testing=True
- name: "Build: header-only, boost"
run: conan create CDT/ -o use_boost=True -o enable_testing=True --build missing
- name: "Build: header-only, without boost"
run: conan create CDT/ -o use_boost=False -o enable_testing=True