Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/conan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
paths:
- conanfile.py
- test_package/conanfile.py
- .github/workflows/conan.yml

jobs:
prepare:
Expand Down Expand Up @@ -100,6 +101,8 @@ jobs:
apt-get update
apt-get -y dist-upgrade
DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install \
autoconf \
automake \
build-essential \
ca-certificates \
curl \
Expand All @@ -120,15 +123,15 @@ jobs:
sudo echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ jammy main' | sudo tee /etc/apt/sources.list.d/kitware.list >/dev/null

apt-get update
apt-get -y install cmake
apt-get -y install cmake=3.25.2-0kitware1ubuntu22.04.1 cmake-data=3.25.2-0kitware1ubuntu22.04.1

pip install conan

- name: Create package
shell: bash
run: |
conan profile detect
conan create . --build=missing -s compiler.cppstd=14
conan create . --build=missing -s compiler.cppstd=14 -s:a compiler.cppstd=14

build_linux_debian:
if: github.repository_owner == 'viamrobotics'
Expand Down Expand Up @@ -166,6 +169,7 @@ jobs:
apt-get update
apt-get -y dist-upgrade
DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install \
autoconf \
build-essential \
ca-certificates \
cmake \
Expand Down Expand Up @@ -204,4 +208,4 @@ jobs:

pip install conan
conan profile detect
conan create . --build=missing -s compiler.cppstd=14
conan create . --build=missing -s compiler.cppstd=14 -s:a compiler.cppstd=14
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def configure(self):
# From some experiments it seems that the shared-ness of these packages
# should match that of the SDK recipe. Failure to do so can cause linker
# errors while compiling, or static initialization errors at runtime for modules.
for lib in ["grpc", "protobuf"]:
for lib in ["grpc", "protobuf", "abseil"]:
self.options[lib].shared = True

def requirements(self):
Expand Down
Loading