File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 32
32
create-symlink : true
33
33
- name : Run vcpkg
34
34
uses : lukka/run-vcpkg@v11
35
+ - name : Install Conan
36
+ id : conan
37
+ uses : turtlebrowser/get-conan@main
38
+ - name : Create default profile
39
+ run : conan profile detect
35
40
- name : Install ninja
36
41
run : brew install ninja
37
42
if : matrix.os == 'macos-latest'
43
+ - name : Make sure the library compiles with Conan
44
+ env :
45
+ CC : clang
46
+ CXX : clang++
47
+ run : conan build . --build=missing -s compiler.cppstd=gnu20 -o &:with_cbor=True -o &:with_flatbuffers=True -o &:with_msgpack=True -o &:with_toml=True -o &:with_ubjson=True -o &:with_xml=True -o &:with_yaml=True
38
48
- name : Compile
39
49
env :
40
50
CC : clang
Original file line number Diff line number Diff line change 22
22
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
23
23
- uses : ilammy/msvc-dev-cmd@v1
24
24
- uses : lukka/run-vcpkg@v11
25
+ - name : Install Conan
26
+ id : conan
27
+ uses : turtlebrowser/get-conan@main
28
+ - name : Create default profile
29
+ run : conan profile detect
30
+ - name : Make sure the library compiles with Conan
31
+ run : conan build . --build=missing -s compiler.cppstd=gnu20 -o &:with_cbor=True -o &:with_flatbuffers=True -o &:with_msgpack=True -o &:with_toml=True -o &:with_ubjson=True -o &:with_xml=True -o &:with_yaml=True
25
32
- name : Compile
26
33
run : |
27
34
cmake -S . -B build -DREFLECTCPP_BUILD_TESTS=ON -DREFLECTCPP_BUILD_BENCHMARKS=ON -DREFLECTCPP_BSON=ON -DREFLECTCPP_CBOR=ON -DREFLECTCPP_FLEXBUFFERS=ON -DREFLECTCPP_MSGPACK=ON -DREFLECTCPP_XML=ON -DREFLECTCPP_TOML=ON -DREFLECTCPP_YAML=ON -DCMAKE_BUILD_TYPE=Release
You can’t perform that action at this time.
0 commit comments