CI: remove unused common.check_build() (MR 802)

The function is also present in build_changed_aports.py, and it is only
used there.
This commit is contained in:
Oliver Smith 2020-08-24 15:15:14 +02:00 committed by Clayton Craft
parent 67c0e167d2
commit a5b75f3072
No known key found for this signature in database
GPG key ID: 23A30DA6D406B355

View file

@ -190,15 +190,3 @@ def get_changed_packages():
ret.add(os.path.basename(dirname))
return ret
def check_build(packages, verify_only=False):
# Initialize build environment with less logging
run_pmbootstrap(["build_init"])
if verify_only:
run_pmbootstrap(["--details-to-stdout", "checksum", "--verify"] +
list(packages))
else:
run_pmbootstrap(["--details-to-stdout", "build", "--strict",
"--force"] + list(packages))