Skip to content

Latest commit

 

History

108 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conan development environment

Development tools for the Conan C/C++ Package Manager

A devenv powered project.

status-badge

To get started, clone this repository and allow devenv to set up the environment:

git clone ssh://git@codeberg.org/tarcisio/conan-dev.git
cd conan-dev
devenv --from path:apps/conan allow

In the apps/conan/devenv.yaml file, the default profile is set as:

profile: testAll

It's also possible to specify the profile directly:

devenv --from path:apps/conan --profile testIntelCc allow

After the above commands finish executing, run the following:

init-conan-submodule

The init-conan-submodule script initializes a git submodule with a fork of the Conan source code repository:

[submodule "conan"]
	path = apps/conan/conan
	url = https://github.com/tarc/conan.git
	branch = nix-tests

and checkout a specific branch with minor changes on the test suite:

init-conan-submodule.exec = ''
  set -euo pipefail
  set -x
  git submodule update --init --remote
  cd "${config.git.root}/apps/conan/conan"
  git checkout nix-tests
  git remote add upstream git@github.com:conan-io/conan.git 2>/dev/null
'';

Usage

Update Conan submodule

update-conan-submodule
Your branch is up to date with 'origin/nix-tests'.
Current branch nix-tests is up to date.

Testing

functional-cmake-toolchain-tests
============================= test session starts ==============================
platform linux -- Python 3.14.7, pytest-9.1.1, pluggy-1.6.0
rootdir: /home/tarci/projects/conan-dev/apps/conan/conan
configfile: pytest.ini
plugins: cov-7.1.0, xdist-3.8.0
collected 38 items

test/functional/toolchains/cmake/test_cmake_toolchain.py sss...s.....sss [ 39%]
sss...........sssss.s..                                                  [100%]

======================= 22 passed, 16 skipped in 14.75s ========================
single-test test/functional/test_profile_detect_api.py -s
============================= test session starts ==============================
platform linux -- Python 3.14.7, pytest-9.1.1, pluggy-1.6.0
rootdir: /home/tarci/projects/conan-dev/apps/conan/conan
configfile: pytest.ini
plugins: cov-7.1.0, xdist-3.8.0
collected 9 items

test/functional/test_profile_detect_api.py s.s......

========================= 7 passed, 2 skipped in 0.18s =========================

References

Docs

The reference for packaging Python applications is in the Nixpkgs Reference Manual, in the Languages and frameworks chapter:

About

Development environment for the Conan project — read-only mirror of codeberg.org/tarcisio/conan-dev

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages