Home
last modified time | relevance | path

Searched hist:"32 fe7da6eded08d8cfbcc88cdd09154924fa0a9c" (Results 1 – 1 of 1) sorted by relevance

/optee_os/.github/workflows/
H A Dci.yml32fe7da6eded08d8cfbcc88cdd09154924fa0a9c Thu Jan 26 11:47:17 UTC 2023 Jerome Forissier <jerome.forissier@linaro.org> ci: make QEMUv8 jobs download source tree from scratch

Update the QEMUv8 jobs to user a new Docker image:
jforissier/optee_os_ci:qemuv8_check2 [2]. The main differences with
the previous one (:qemuv8_check [1]) are:
- The OP-TEE development tree is not included. Instead a script is used
to download the source trees via repo init, repo sync etc.
(/root/get_optee_qemuv8.sh).
- The new image contains a toolchain with full BTI support.

Several reasons for that:
- The Gits in the older Docker image can be outdated. Doing "repo sync"
then rebuilding without "make clean" often works in practice but it
can also cause problems when external components are updated. For
example we may run out of disk space when Buildroot is updated and
brings many new packages. It can also happen that new sources are not
properly rebuilt.
- The Docker image is much bigger if it contains a pre-built OP-TEE
tree, that means longer download times but more importantly much slower
upload times when it needs updating, which is all the more often if it
contains the non OP-TEE software.
- Caching (ccache) is enabled and saved/restored by GitHub cache actions
so build time should not suffer too much.

Link: [1] https://github.com/jforissier/docker_optee_os_ci/tree/qemuv8_check
Link: [2] https://github.com/jforissier/docker_optee_os_ci/tree/qemuv8_check2
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>