With CMake minimum required as 3.20.0 we update CI to use docker image
v0.18.2, which contains CMake 3.20.5.
For doc builds we fetch the same CMake v3.20.5 but using pip as the doc
build doesn't use the docker image.
The main reason for increasing CMake version is better toolchain
support.
The decision to bump the CMake version was taken by the Toolchain WG.
Better toolchain support is added in the following CMake versions:
- armclang, CMake 3.15
- Intel oneAPI, CMake 3.20
- IAR, CMake 3.15 and 3.20
Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
Avoid some cases of running out of disk space in the daily build. Add
setting -M option to remove artifacts as we build.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Increase timeout to allow testing completion on all impacted boards
Slightly Increase jobs as well
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Increase the number of works to help PR throughput as we get
close to code freeze. Will revert this back after code freeze.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Update docker image to v0.17.1 to get SDK 0.13.0-alpha-1 to
allow testing of ARC64 as well as the SDK update to gcc-10.3 and
qemu 6.0.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Update to new docker image with various updates including renode, llvm
and the base distro (moving from ubuntu 18.04 to 20.04).
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Remove files to cleanup disk space so if the machine gets
re-used we aren't wasting disk space. This can happen when different
build types (zephyr, bluetooth, and daily) all happen on the same
machine.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
junitparse doesn't deal well with being given an empty file. So build
a filterted list of non-empty files to pass to junitparser.
Additionally handle the case that all junit xml files are empty, if
that is the case skip calling junitparser and junit2html.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Update ci and docs to reference SDK 0.12.3. Update to SDK 0.12.3 as
it includes fixes for support ARM Cortex-M55.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Still seeing a few timeouts after recently bumping up the number of
builds. Bump this again to hopefully address the issue for now.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
To get the daily build to hopefully run completely w/o timeouts lets
increase the number of builders.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Increase the number of workers for Dec as we've got additional credits
to utilize before the end of the year.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Remove the temporary fixes for installing lpc_checksum
and imgtool packages in buildkite. Not required with
the new docker image.
Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
Update buildkite to use dockerfiles release 0.11.10.
Update both pipeline.yml and daily.yml.
Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
Force CI to manually install imgtool, which is needed
for sanitycheck to build and run the TF-M integration
samples with MCUboot (where MCUboot is built from the
TF-M external project).
Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
On errors we were aborting immediately skipping any needed cleanup after
the error has occured. This will run the cleanup function and upload
reports of failure when something bad happens.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Transient network errors may cause west update to fail. Retry it in
case that happens. Updates for projects which are already up to date
won't hit the network.
Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
Whenever we have an error in the script, exit immediately and avoid
confusing unrelated messages about disk space and such.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
The sanitycheck tests are all failing for the lpcxpresso11u68 board
because the lpc_checksum, a new python script requirement introduced
by this board, is not present in the build environment. This
commit attempt to fix this issue by installing lpc_checksum before
running sanitycheck.
Signed-off-by: Maxime Bittan <maxime.bittan@seagate.com>
We use a seperate pipeline step and try and reuse the run.sh script with
some minor modifications. There's a seperate pipeline for this purpose
that does the schedule build.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
The junit-annotate step will fail if there are no sanitycheck-*.xml
files to be found which can happen if sanitycheck is run and does
nothing (for example an update to .editorconfig).
Try and create an empty sanitycheck.xml in such a case.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Add setup to utilize buildkite for CI purposes:
1. .buildkite/hooks/pre-command:
* Handles getting git checkout setup against upstream repo
* Setup some west module cache (dirs, clean out files & locks)
* init dir for ccache
2. .buildkite/hooks/post-command:
* Report disk usage (meant for possible debugging)
3. .buildkite/pipeline.yml [uses to determine what to do]:
* setup zephyr env vars
* set which docker container to use
(export some local disk caches for git, west modules, and ccache)
* uses plug to general build annotation on failure (junit-annotate)
4. .buildkite/run.sh [ buildkite wrapper to invoke scripts/ci/run.sh ]
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>