aboutsummaryrefslogtreecommitdiff
path: root/build-configs.yaml
diff options
context:
space:
mode:
authorGuillaume Tucker <guillaume.tucker@collabora.com>2019-02-18 11:50:01 +0000
committerGuillaume Tucker <guillaume.tucker@collabora.com>2019-02-25 08:05:50 +0000
commit214024cd8ef1cd0f64d0b501db098aa598d5294c (patch)
treea452d6fa5eb66a173fd79e8d64dfa9ab75c9a2d3 /build-configs.yaml
parent78ca03dd5c4587b21d35d9c3889db91ded57b3d8 (diff)
kernelci.configs: add BuildVariant and update related implementation
Add BuildVariant class to define multiple ways of build a single tree/branch build configuration. This is required in order to be able to build all the variants together as builds from multiple compilers will typically be stored and reported together, following the kernel revision. Keeping separate build configurations for different build environments makes it hard to then group these things again. * add kernelci.configs.BuildVariant class and create a list of them in BuildConfig * kci_build: add list_variants command and a --variant option and use it to update the implementation accordingly * build-configs.yaml: update defaults to have gcc-7 as the only variant unless otherwise specified in each build configuration Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Diffstat (limited to 'build-configs.yaml')
-rw-r--r--build-configs.yaml19
1 files changed, 10 insertions, 9 deletions
diff --git a/build-configs.yaml b/build-configs.yaml
index e6d25f3..80cd61a 100644
--- a/build-configs.yaml
+++ b/build-configs.yaml
@@ -155,15 +155,16 @@ build_environments:
build_configs_defaults:
- build_environment: gcc-7
- arch_list: &default_arch_list
- - i386
- - x86_64
- - arm
- - arm64
- - mips
- - arc
- - riscv
+ gcc-7:
+ build_environment: gcc-7
+ arch_list: &default_arch_list
+ - i386
+ - x86_64
+ - arm
+ - arm64
+ - mips
+ - arc
+ - riscv
build_configs: