diff mbox series

[v1,6/9] gitlab: add build-user-hexagon test

Message ID 20210305092328.31792-7-alex.bennee@linaro.org
State Superseded
Headers show
Series testing/next (docs, hexagon, cfi, docker) | expand

Commit Message

Alex Bennée March 5, 2021, 9:23 a.m. UTC
We special case this as the container with the cross compiler for the
tests takes so long to build it is manually uploaded into the
registry.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

---
 .gitlab-ci.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)

-- 
2.20.1

Comments

Philippe Mathieu-Daudé March 5, 2021, 9:43 a.m. UTC | #1
On 3/5/21 10:23 AM, Alex Bennée wrote:
> We special case this as the container with the cross compiler for the

> tests takes so long to build it is manually uploaded into the

> registry.

> 

> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

> ---

>  .gitlab-ci.yml | 11 +++++++++++

>  1 file changed, 11 insertions(+)


Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Wainer dos Santos Moschetta March 5, 2021, 3:37 p.m. UTC | #2
On 3/5/21 6:23 AM, Alex Bennée wrote:
> We special case this as the container with the cross compiler for the

> tests takes so long to build it is manually uploaded into the

> registry.

>

> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

> ---

>   .gitlab-ci.yml | 11 +++++++++++

>   1 file changed, 11 insertions(+)



Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>



>

> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml

> index 8b6d495288..c2c5196b8b 100644

> --- a/.gitlab-ci.yml

> +++ b/.gitlab-ci.yml

> @@ -417,6 +417,17 @@ build-user-static:

>       CONFIGURE_ARGS: --disable-tools --disable-system --static

>       MAKE_CHECK_ARGS: check-tcg

>   

> +# Because the hexagon cross-compiler takes so long to build we don't rely

> +# on the CI system to build it and hence this job has no dependency

> +# declared. The image is manually uploaded.

> +build-user-hexagon:

> +  <<: *native_build_job_definition

> +  variables:

> +    IMAGE: debian-hexagon-cross

> +    TARGETS: hexagon-linux-user

> +    CONFIGURE_ARGS: --disable-tools --disable-docs --enable-debug-tcg

> +    MAKE_CHECK_ARGS: check-tcg

> +

>   # Only build the softmmu targets we have check-tcg tests for

>   build-some-softmmu:

>     <<: *native_build_job_definition
diff mbox series

Patch

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8b6d495288..c2c5196b8b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -417,6 +417,17 @@  build-user-static:
     CONFIGURE_ARGS: --disable-tools --disable-system --static
     MAKE_CHECK_ARGS: check-tcg
 
+# Because the hexagon cross-compiler takes so long to build we don't rely
+# on the CI system to build it and hence this job has no dependency
+# declared. The image is manually uploaded.
+build-user-hexagon:
+  <<: *native_build_job_definition
+  variables:
+    IMAGE: debian-hexagon-cross
+    TARGETS: hexagon-linux-user
+    CONFIGURE_ARGS: --disable-tools --disable-docs --enable-debug-tcg
+    MAKE_CHECK_ARGS: check-tcg
+
 # Only build the softmmu targets we have check-tcg tests for
 build-some-softmmu:
   <<: *native_build_job_definition