Giter Site home page Giter Site logo

bincrafters / bincrafters-package-tools Goto Github PK

View Code? Open in Web Editor NEW
16.0 11.0 16.0 254 KB

A modular toolset for Conan Package Tools - Build your recipes easily on CI

Home Page: https://pypi.python.org/pypi/bincrafters-package-tools

License: MIT License

Python 98.01% PowerShell 1.99%
conan conan-tools hacktoberfest python testing

bincrafters-package-tools's Introduction

Build status Codecov Pypi Download

Bincrafters Package Tools

A modular toolset for Conan Package Tools

This project contains files used by Conan Package Tools for all kinds of bincrafters builds.

These scripts are used during build process to allow for rapid testing and prototyping at this time.

INSTALL

To install by pip is just one step

Local

If you want to install by local copy

pip install .

Remote

Or if you want to download our pip package

pip install bincrafters_package_tools

ENVIRONMENT VARIABLES

All variables supported by Conan package tools, are treated by Bincrafters package tools as well. To solve the upload, some variables are customized by default:

CONAN_UPLOAD: https://bincrafters.jfrog.io/artifactory/api/conan/public-conan
CONAN_REFERENCE: Fields name and version from conanfile.py
CONAN_USERNAME: Get from CI env vars. Otherwise, use bincrafters
CONAN_VERSION: Get from CI env vars.
CONAN_VERSION: Field version from conanfile.py
CONAN_UPLOAD_ONLY_WHEN_STABLE: True for default template. False for Boost builds.
CONAN_STABLE_BRANCH_PATTERN: stable/*
CONAN_ARCHS: Only x86_64 per default. To build 32-bit and 64-bit use e.g. [x86_64, x86]


BPT SPECIFIC ENVIRONMENT VARIBLES:

BPT_MATRIX_SPLIT_BY_BUILD_TYPES: Splits build jobs into Release and Debug build jobs. BPT_MATRIX_DISCARD_DUPLICATE_BUILD_IDS: true/false, default: true. This does NOT YET what it says. Right now, this only has an effect for installer_only and header_only recipes when set to false. In those cases, you get the full build matrix, instead of a shortened build matrix. In the future, the matrix generation actually compares build IDs and discards jobs based on the IDs.


Testing and Development

To install extra packages required to test

pip install .[test]

TESTING

To run all unit test + code coverage, just execute:

pip install -r bincrafters/requirements_test.txt
cd tests
pytest -v --cov=bincrafters

LICENSE

MIT

bincrafters-package-tools's People

Contributors

croydon avatar dariuszostolski avatar dependabot[bot] avatar dimi309 avatar dproteus13 avatar ericlemanissier avatar grafikrobot avatar jgsogo avatar jmarrec avatar lgisler avatar madebr avatar sigmoidal avatar solvingj avatar sse4 avatar sztomi avatar theirix avatar uilianries avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.