forked from mpusz/mp-units
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.py
25 lines (21 loc) · 838 Bytes
/
build.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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()