mirror of
https://github.com/mpusz/mp-units.git
synced 2025-06-25 01:01:33 +02:00
26 lines
838 B
Python
26 lines
838 B
Python
from cpt.packager import ConanMultiPackager
|
|
|
|
if __name__ == "__main__":
|
|
builder = ConanMultiPackager(
|
|
# package id
|
|
username = "mpusz",
|
|
channel = "testing",
|
|
stable_branch_pattern = r"v\d+\.\d+\.\d+.*",
|
|
|
|
# dependencies
|
|
remotes = None,
|
|
build_policy = "outdated",
|
|
upload_dependencies="all",
|
|
|
|
# build configurations
|
|
archs = ["x86_64"], # limit to 64-bit only
|
|
|
|
# package upload (REMEMBER to set CONAN_PASSWORD environment variable in Travis CI and AppVeyor)
|
|
login_username = "mpusz",
|
|
upload = "https://api.bintray.com/conan/mpusz/conan-mpusz"
|
|
)
|
|
builder.add_common_builds(pure_c=False)
|
|
for settings, options, env_vars, build_requires, reference in builder.items:
|
|
settings["compiler.cppstd"] = "20"
|
|
builder.run()
|