Closer integration with Conan and vcpkg (#279)

This commit is contained in:
Dr. Patrick Urbanke (劉自成)
2024-12-01 14:01:17 +01:00
committed by GitHub
parent 31534ae986
commit 967cda42af
11 changed files with 241 additions and 18 deletions
+7
View File
@@ -47,6 +47,13 @@ jobs:
run: |
sudo apt update
sudo apt install -y ninja-build ${{ matrix.additional-dep }}
- name: Install Conan
run: |
sudo apt install -y pipx
pipx install conan
conan profile detect
- name: Make sure the library compiles with Conan
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
- name: Compile
run: |
if [[ "${{ matrix.compiler }}" == "llvm" ]]; then