From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Tue, 21 Apr 2020 21:52:58 +0200 Subject: [Buildroot] [PATCHv2 02/12] gitlab-ci: check generated config files In-Reply-To: <20200421172646.3340666-2-romain.naour@gmail.com> References: <20200421172646.3340666-1-romain.naour@gmail.com> <20200421172646.3340666-2-romain.naour@gmail.com> Message-ID: <20200421195258.GW5035@scaer> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Romain, All, On 2020-04-21 19:26 +0200, Romain Naour spake thusly: > Use the script added by the previous patch to check > generated config files. > > Tested on gitlab: > https://gitlab.com/kubu93/buildroot/pipelines/137597966 > > Signed-off-by: Romain Naour > Cc: Thomas Petazzoni > --- > .gitlab-ci.yml | 1 + > .gitlab-ci.yml.in | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml > index fa8e077a07..0d06a1b7cf 100644 > --- a/.gitlab-ci.yml > +++ b/.gitlab-ci.yml > @@ -47,6 +47,7 @@ check-package: > script: > - echo "Configure Buildroot for ${DEFCONFIG_NAME}" > - make ${DEFCONFIG_NAME} > + - ./support/scripts/check-dotconfig.py .config ./configs/${DEFCONFIG_NAME} We can't add the check in the pipelines before all the defconfigs are fixed, otherwise the failed checks would end the job in error on the spot, preventing the defconfig from building. So, the defconfig fixes should come first (but Thomas is supposed to apply them as I write this! ;-) ) Regards, Yann E. MORIN. > - echo 'Build buildroot' > - | > make > >(tee build.log |grep '>>>') 2>&1 || { > diff --git a/.gitlab-ci.yml.in b/.gitlab-ci.yml.in > index 6b09730a65..413c6d2956 100644 > --- a/.gitlab-ci.yml.in > +++ b/.gitlab-ci.yml.in > @@ -47,6 +47,7 @@ check-package: > script: > - echo "Configure Buildroot for ${DEFCONFIG_NAME}" > - make ${DEFCONFIG_NAME} > + - ./support/scripts/check-dotconfig.py .config ./configs/${DEFCONFIG_NAME} > - echo 'Build buildroot' > - | > make > >(tee build.log |grep '>>>') 2>&1 || { > -- > 2.25.3 > > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'