qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] travis-ci: Test installing Sphinx documentation
@ 2019-03-08 16:29 Philippe Mathieu-Daudé
  2019-03-08 16:29 ` [Qemu-devel] [PATCH 1/3] .travis.yml: Reduce the out-of-tree target list Philippe Mathieu-Daudé
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-03-08 16:29 UTC (permalink / raw)
  To: qemu-devel, Peter Maydell, Alex Bennée
  Cc: Philippe Mathieu-Daudé, Fam Zheng

Hi,

This series improve the Travis CI to test installing the Sphinx
generated documentation in in-tree and out-of-tree builds.

It is based on Peter's "Fix various issues with Sphinx build
machinery" series:
https://lists.gnu.org/archive/html/qemu-devel/2019-03/msg02625.html

Regards,

Phil.

Based-on: <20190308135744.6480-1-peter.maydell@linaro.org>

Philippe Mathieu-Daudé (3):
  .travis.yml: Reduce the out-of-tree target list
  .travis.yml: Test the documentation installation process
  .travis.yml: Test installing Sphinx documentation in out-of-tree build

 .travis.yml | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

-- 
2.20.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] [PATCH 1/3] .travis.yml: Reduce the out-of-tree target list
  2019-03-08 16:29 [Qemu-devel] [PATCH 0/3] travis-ci: Test installing Sphinx documentation Philippe Mathieu-Daudé
@ 2019-03-08 16:29 ` Philippe Mathieu-Daudé
  2019-03-08 16:29 ` [Qemu-devel] [PATCH 2/3] .travis.yml: Test the documentation installation process Philippe Mathieu-Daudé
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-03-08 16:29 UTC (permalink / raw)
  To: qemu-devel, Peter Maydell, Alex Bennée
  Cc: Philippe Mathieu-Daudé, Fam Zheng

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

diff --git a/.travis.yml b/.travis.yml
index e942175dd3..681ed1c216 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -127,7 +127,7 @@ matrix:
 
     # Test out-of-tree builds
     - env:
-        - CONFIG="--enable-debug --enable-debug-tcg"
+        - CONFIG="--enable-debug --enable-debug-tcg --target-list=microblaze-softmmu,xtensa-softmmu,cris-linux-user,hppa-linux-user"
         - BUILD_DIR="out-of-tree/build/dir" SRC_DIR="../../.."
 
 
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Qemu-devel] [PATCH 2/3] .travis.yml: Test the documentation installation process
  2019-03-08 16:29 [Qemu-devel] [PATCH 0/3] travis-ci: Test installing Sphinx documentation Philippe Mathieu-Daudé
  2019-03-08 16:29 ` [Qemu-devel] [PATCH 1/3] .travis.yml: Reduce the out-of-tree target list Philippe Mathieu-Daudé
@ 2019-03-08 16:29 ` Philippe Mathieu-Daudé
  2019-03-08 16:29 ` [Qemu-devel] [PATCH 3/3] .travis.yml: Test installing Sphinx documentation in out-of-tree build Philippe Mathieu-Daudé
  2019-03-08 16:55 ` [Qemu-devel] [PATCH 0/3] travis-ci: Test installing Sphinx documentation Alex Bennée
  3 siblings, 0 replies; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-03-08 16:29 UTC (permalink / raw)
  To: qemu-devel, Peter Maydell, Alex Bennée
  Cc: Philippe Mathieu-Daudé, Fam Zheng

We invert the BASE_CONFIG arguments order to match the
BASE_CONFIG at top of this file, this way it is easier
to find this job in Travis Job View.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 .travis.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 681ed1c216..df6700d93a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -114,10 +114,11 @@ matrix:
         - TEST_CMD="make check-unit -j3 V=1"
 
 
-    # Check we can build docs and tools
+    # Check we can build docs and tools (in-tree) and install them
     - env:
-        - BASE_CONFIG="--enable-tools --enable-docs"
-        - CONFIG="--target-list=x86_64-softmmu,aarch64-linux-user"
+        - BASE_CONFIG="--enable-docs --enable-tools"
+        - CONFIG="--prefix=$PWD/prefix --target-list=x86_64-softmmu,aarch64-linux-user"
+        - TEST_CMD="make check install -j3"
       addons:
         apt:
           packages:
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Qemu-devel] [PATCH 3/3] .travis.yml: Test installing Sphinx documentation in out-of-tree build
  2019-03-08 16:29 [Qemu-devel] [PATCH 0/3] travis-ci: Test installing Sphinx documentation Philippe Mathieu-Daudé
  2019-03-08 16:29 ` [Qemu-devel] [PATCH 1/3] .travis.yml: Reduce the out-of-tree target list Philippe Mathieu-Daudé
  2019-03-08 16:29 ` [Qemu-devel] [PATCH 2/3] .travis.yml: Test the documentation installation process Philippe Mathieu-Daudé
@ 2019-03-08 16:29 ` Philippe Mathieu-Daudé
  2019-03-08 16:55 ` [Qemu-devel] [PATCH 0/3] travis-ci: Test installing Sphinx documentation Alex Bennée
  3 siblings, 0 replies; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-03-08 16:29 UTC (permalink / raw)
  To: qemu-devel, Peter Maydell, Alex Bennée
  Cc: Philippe Mathieu-Daudé, Fam Zheng

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 .travis.yml | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index df6700d93a..2c6b6c05b0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -126,10 +126,19 @@ matrix:
             - texinfo
             - perl
 
-    # Test out-of-tree builds
+
+    # Test out-of-tree builds (and install)
     - env:
-        - CONFIG="--enable-debug --enable-debug-tcg --target-list=microblaze-softmmu,xtensa-softmmu,cris-linux-user,hppa-linux-user"
+        - BASE_CONFIG="--enable-docs --disable-tools"
+        - CONFIG="--prefix=$PWD/prefix --enable-debug --enable-debug-tcg --target-list=microblaze-softmmu,xtensa-softmmu,cris-linux-user,hppa-linux-user"
         - BUILD_DIR="out-of-tree/build/dir" SRC_DIR="../../.."
+        - TEST_CMD="make check install -j3"
+      addons:
+        apt:
+          packages:
+            - python-sphinx
+            - texinfo
+            - perl
 
 
     # Test with Clang for compile portability (Travis uses clang-5.0)
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH 0/3] travis-ci: Test installing Sphinx documentation
  2019-03-08 16:29 [Qemu-devel] [PATCH 0/3] travis-ci: Test installing Sphinx documentation Philippe Mathieu-Daudé
                   ` (2 preceding siblings ...)
  2019-03-08 16:29 ` [Qemu-devel] [PATCH 3/3] .travis.yml: Test installing Sphinx documentation in out-of-tree build Philippe Mathieu-Daudé
@ 2019-03-08 16:55 ` Alex Bennée
  3 siblings, 0 replies; 5+ messages in thread
From: Alex Bennée @ 2019-03-08 16:55 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé; +Cc: qemu-devel, Peter Maydell, Fam Zheng


Philippe Mathieu-Daudé <philmd@redhat.com> writes:

> Hi,
>
> This series improve the Travis CI to test installing the Sphinx
> generated documentation in in-tree and out-of-tree builds.
>
> It is based on Peter's "Fix various issues with Sphinx build
> machinery" series:
> https://lists.gnu.org/archive/html/qemu-devel/2019-03/msg02625.html

Hmm I'd just combined the docs and out of tree build:

  https://github.com/stsquad/qemu/commit/c4d5ae98005bc8a3cd0224321d3d5938650c3ef6

>
> Regards,
>
> Phil.
>
> Based-on: <20190308135744.6480-1-peter.maydell@linaro.org>
>
> Philippe Mathieu-Daudé (3):
>   .travis.yml: Reduce the out-of-tree target list
>   .travis.yml: Test the documentation installation process
>   .travis.yml: Test installing Sphinx documentation in out-of-tree build
>
>  .travis.yml | 20 +++++++++++++++-----
>  1 file changed, 15 insertions(+), 5 deletions(-)


--
Alex Bennée

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-03-08 16:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-08 16:29 [Qemu-devel] [PATCH 0/3] travis-ci: Test installing Sphinx documentation Philippe Mathieu-Daudé
2019-03-08 16:29 ` [Qemu-devel] [PATCH 1/3] .travis.yml: Reduce the out-of-tree target list Philippe Mathieu-Daudé
2019-03-08 16:29 ` [Qemu-devel] [PATCH 2/3] .travis.yml: Test the documentation installation process Philippe Mathieu-Daudé
2019-03-08 16:29 ` [Qemu-devel] [PATCH 3/3] .travis.yml: Test installing Sphinx documentation in out-of-tree build Philippe Mathieu-Daudé
2019-03-08 16:55 ` [Qemu-devel] [PATCH 0/3] travis-ci: Test installing Sphinx documentation Alex Bennée

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).