Skip to content

Feature/add devcontainer to 2.4 support - #855

Draft
pnoltes wants to merge 5 commits into
support/2.4from
feature/add-devcontainer-to-2.4-support
Draft

pnoltes wants to merge 5 commits into
support/2.4from
feature/add-devcontainer-to-2.4-support

Conversation

@pnoltes

@pnoltes pnoltes commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

This PR adds DevContainer support to and updates the CI to supported Ubunt/MacOs versions for the 2.4 support branch.

In more details:

  • Introduces a Conan-based DevContainer (backported from master) and refreshes the GitHub Actions CI to build against current tooling and OSes, while keeping macOS support on the latest runner.
  • .devcontainer/ with Containerfile (Ubuntu 24.04 + Conan 2), devcontainer.json, and README.md.
  • Conan package/download/ccache volume mounts, debug/release profiles, and a conan install onCreateCommand.
    Build system
  • Add cmake_layout to conanfile.py so cmake --preset conan-debug/conan-release are generated.
  • Pin libcurl to 8.4.0 and util-linux-libuuid to 2.39.2 (resolve version conflicts that appeared with newer Conan 2 recipes).
  • Append --coverage to linker flags instead of overwriting them in CodeCoverage.cmake (otherwise --unresolved-symbols=ignore-in-shared-libs is dropped and shared linking breaks).
  • Suppress new GCC 13 / Clang 16 warnings via -Wno-* flags.
  • ubuntu.yml: rewrite the Conan job to Conan 2 (drop the stale conan==1.59.0 pin), bump runners to ubuntu-24.04.
  • coverage.yml: Conan 2 + ubuntu-24.04.
  • conan_create.yml: remove mac brew build, moved to macOS-15.
  • Add containers.yml (builds the devcontainer image and runs in-container conan build/ctest), using apache/celix-2.4-conan-build/conan-dev image names.
  • Add CMakeUserPresets.json to .gitignore.
  • Zeroconf discovery test: drop sudo from the CTest command and instead start mdnsd with sudo inside the test (matches master)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant