-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 761 Bytes
/
conan.yml
File metadata and controls
37 lines (31 loc) · 761 Bytes
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
name: Conan
on:
push:
branches:
- master
pull_request:
types:
- opened
- reopened
permissions:
contents: read
jobs:
conan:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Install Conan
run: pip install conan
- name: Generate a Conan profile
run: conan profile detect
- name: Build using Conan
run: |
conan install . --output-folder=build --build=missing
cd build
source conanbuild.sh
cmake -DSCONF_BUILD_EXAMPLES=on -DSCONF_ENABLE_TESTS=on \
--preset conan-release -Werror=dev ..
make
make test
source deactivate_conanbuild.sh