All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Lucas Mateus Castro(alqotel)" <lucas.araujo@eldorado.org.br>
To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org
Cc: "Lucas Mateus Castro(alqotel)" <lucas.araujo@eldorado.org.br>,
	"Alex Bennée" <alex.bennee@linaro.org>,
	"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"Thomas Huth" <thuth@redhat.com>,
	"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
	"Willian Rampazzo" <willianr@redhat.com>
Subject: [PATCH 7/8] scripts/ci/setup: Added debian to build-environment.yml
Date: Wed, 27 Jul 2022 13:36:31 -0300	[thread overview]
Message-ID: <20220727163632.59806-8-lucas.araujo@eldorado.org.br> (raw)
In-Reply-To: <20220727163632.59806-1-lucas.araujo@eldorado.org.br>

Minicloud has a PPC64 BE Debian11 image which can be used for the CI,
so add Debian to the build-environment.yml so it can be configured with
ansible-playbook.

Signed-off-by: Lucas Mateus Castro(alqotel) <lucas.araujo@eldorado.org.br>
---
 scripts/ci/setup/build-environment.yml | 31 +++++++++++++++++++++-----
 1 file changed, 26 insertions(+), 5 deletions(-)

diff --git a/scripts/ci/setup/build-environment.yml b/scripts/ci/setup/build-environment.yml
index a7d53d0f70..b5d415496f 100644
--- a/scripts/ci/setup/build-environment.yml
+++ b/scripts/ci/setup/build-environment.yml
@@ -31,9 +31,11 @@
         update_cache: yes
         upgrade: yes
       when:
-        - ansible_facts['distribution'] == 'Ubuntu'
+        - |
+            ansible_facts['distribution'] == 'Ubuntu' or
+            ansible_facts['distribution'] == 'Debian'
 
-    - name: Install basic packages to build QEMU on Ubuntu 20.04
+    - name: Install basic packages to build QEMU on Ubuntu 20.04 or Debian11
       package:
         name:
           - ccache
@@ -56,7 +58,6 @@
           - libibverbs-dev
           - libiscsi-dev
           - libjemalloc-dev
-          - libjpeg-turbo8-dev
           - liblzo2-dev
           - libncurses5-dev
           - libncursesw5-dev
@@ -86,17 +87,37 @@
           - sparse
           - xfslibs-dev
         state: present
+      when:
+        - |
+            ansible_facts['distribution'] == 'Ubuntu' or
+            ansible_facts['distribution'] == 'Debian'
+
+    - name: Install Ubuntu exclusive packages to build QEMU
+      package:
+        name:
+          - libjpeg-turbo8-dev
+        state: present
       when:
         - ansible_facts['distribution'] == 'Ubuntu'
 
-    - name: Install packages to build QEMU on Ubuntu 20.04 on non-s390x
+    - name: Install Debian exclusive packages to build QEMU
+      package:
+        name:
+          - libjpeg62-turbo-dev
+        state: present
+      when:
+        - ansible_facts['distribution'] == 'Debian'
+
+    - name: Install packages to build QEMU on Ubuntu 20.04 or Debian11 on non-s390x
       package:
         name:
           - libspice-server-dev
           - libxen-dev
         state: present
       when:
-        - ansible_facts['distribution'] == 'Ubuntu'
+        - |
+            ansible_facts['distribution'] == 'Ubuntu' or
+            ansible_facts['distribution'] == 'Debian'
         - ansible_facts['architecture'] == 'aarch64' or ansible_facts['architecture'] == 'x86_64'
 
     - name: Install basic packages to build QEMU on Ubuntu 20.04
-- 
2.25.1



  parent reply	other threads:[~2022-07-27 16:56 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-27 16:36 [PATCH 0/8] Patch series to set up a ppc64le CI Lucas Mateus Castro(alqotel)
2022-07-27 16:36 ` [PATCH 1/8] tests/docker: Fix alpine dockerfile Lucas Mateus Castro(alqotel)
2022-07-27 17:09   ` Daniel P. Berrangé
2022-07-27 17:23     ` Lucas Mateus Martins Araujo e Castro
2022-07-28  6:52   ` Thomas Huth
2022-07-28  7:06     ` Thomas Huth
2022-07-27 16:36 ` [PATCH 2/8] scripts/ci/setup: ninja missing from build-environment Lucas Mateus Castro(alqotel)
2022-07-27 16:36 ` [PATCH 3/8] scripts/ci/setup: Fix libxen requirements Lucas Mateus Castro(alqotel)
2022-09-07 17:24   ` Alex Bennée
2022-07-27 16:36 ` [PATCH 4/8] scripts/ci/setup: spice-server only on x86 aarch64 Lucas Mateus Castro(alqotel)
2022-07-27 16:36 ` [PATCH 5/8] scripts/ci/setup: Add ppc64le to vars.yml template Lucas Mateus Castro(alqotel)
2022-07-27 16:36 ` [PATCH 6/8] scripts/ci/setup: Add Fedora to build-environment.yml Lucas Mateus Castro(alqotel)
2022-07-27 16:36 ` Lucas Mateus Castro(alqotel) [this message]
2022-07-27 16:36 ` [RFC PATCH 8/8] tests/docker: Selective line reading by python script Lucas Mateus Castro(alqotel)
2022-07-27 21:20   ` Philippe Mathieu-Daudé via
2022-07-28  8:43     ` Daniel P. Berrangé
2022-09-06 19:52 ` [PATCH 0/8] Patch series to set up a ppc64le CI Daniel Henrique Barboza
2022-09-12 12:16   ` Lucas Mateus Martins Araujo e Castro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220727163632.59806-8-lucas.araujo@eldorado.org.br \
    --to=lucas.araujo@eldorado.org.br \
    --cc=alex.bennee@linaro.org \
    --cc=f4bug@amsat.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=thuth@redhat.com \
    --cc=wainersm@redhat.com \
    --cc=willianr@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.