[Qemu-devel] [PATCH] travis: Split the OSX job

Philippe Mathieu-Daudé posted 1 patch 5 years, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20181108160115.20747-1-philmd@redhat.com
Test docker-clang@ubuntu passed
Test checkpatch passed
Test asan passed
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
.travis.yml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
[Qemu-devel] [PATCH] travis: Split the OSX job
Posted by Philippe Mathieu-Daudé 5 years, 5 months ago
The current OSX job often reach the 50min Travis-CI time limit.

Split it in two jobs, which as of this commit took:
- system: ~39min
- user:    ~9min

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 .travis.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index aa49c7b114..827f2252b6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -107,7 +107,11 @@ matrix:
     - env: CONFIG="--disable-tcg"
            TEST_CMD=""
       compiler: gcc
-    - env: CONFIG=""
+    # OSX builds
+    - env: CONFIG="--disable-user"
+      os: osx
+      compiler: clang
+    - env: CONFIG="--disable-system --disable-tools --disable-docs --disable-guest-agent"
       os: osx
       compiler: clang
     # Python builds
-- 
2.17.2


Re: [Qemu-devel] [PATCH] travis: Split the OSX job
Posted by Alex Bennée 5 years, 5 months ago
Philippe Mathieu-Daudé <philmd@redhat.com> writes:

> The current OSX job often reach the 50min Travis-CI time limit.
>
> Split it in two jobs, which as of this commit took:
> - system: ~39min
> - user:    ~9min
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>

I suggested a different split in:

  https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg01695.html

Does a user build actually build anything we can run?

> ---
>  .travis.yml | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/.travis.yml b/.travis.yml
> index aa49c7b114..827f2252b6 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -107,7 +107,11 @@ matrix:
>      - env: CONFIG="--disable-tcg"
>             TEST_CMD=""
>        compiler: gcc
> -    - env: CONFIG=""
> +    # OSX builds
> +    - env: CONFIG="--disable-user"
> +      os: osx
> +      compiler: clang
> +    - env: CONFIG="--disable-system --disable-tools --disable-docs --disable-guest-agent"
>        os: osx
>        compiler: clang
>      # Python builds


--
Alex Bennée