commit | 15e423ef6cbd900aea46f2d35551ccb750fd3755 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Wed Mar 11 16:51:28 2020 +1030 |
committer | Andrew Geissler <geissonator@yahoo.com> | Wed Mar 18 22:57:10 2020 +0000 |
tree | 67e80eccc274b3015070e07cf4b953f98462e020 | |
parent | ccf85d6ebf0d328104c981c3489c44d19ff9600c [diff] |
unit-test: Introduce explicit build system concepts Separate the mechanics of configuring, building and testing repositories into build-system-specific classes that have explicit configure, build, install, test and analyze phases. I'm sure we'll achieve parity with bitbake shortly. Tested: Ran the CI scripts against the following repositories and confirmed they are built and analyzed as expected: * libmctp: Supports both autotools and CMake. The patch prefers autotools * hiomapd: Autotools-based * bmcweb: CMake-based * pldm: Meson-based * phosphor-dbus-monitor: autotools-based, but has a custom dependency on phosphor-snmp Also introduced breaks in the libmctp packaging for each of the configure, build and test phases to confirm that errors resulted in exceptions terminating the run. Change-Id: Ib02d5337e01068291e8bf6f87d153d9bb2d59024 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Build script for CI jobs in Jenkins.