Add Linux mips build (#6153)

This commit is contained in:
Daniel Nelson 2019-07-23 13:20:39 -07:00 committed by GitHub
parent aec231fbed
commit ac10714332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ targets = {
supported_builds = { supported_builds = {
"windows": [ "amd64", "i386" ], "windows": [ "amd64", "i386" ],
"linux": [ "amd64", "i386", "armhf", "armel", "arm64", "static_amd64", "s390x", "mipsel"], "linux": [ "amd64", "i386", "armhf", "armel", "arm64", "static_amd64", "s390x", "mipsel", "mips"],
"freebsd": [ "amd64", "i386" ] "freebsd": [ "amd64", "i386" ]
} }
@ -574,7 +574,7 @@ def package(build_output, pkg_name, version, nightly=False, iteration=1, static=
shutil.copy(fr, to) shutil.copy(fr, to)
for package_type in supported_packages[platform]: for package_type in supported_packages[platform]:
if package_type == "rpm" and arch == "mipsel": if package_type == "rpm" and arch in ["mipsel", "mips"]:
continue continue
# Package the directory structure for each package type for the platform # Package the directory structure for each package type for the platform
logging.debug("Packaging directory '{}' as '{}'.".format(build_root, package_type)) logging.debug("Packaging directory '{}' as '{}'.".format(build_root, package_type))