public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: isar-users <isar-users@googlegroups.com>
Subject: [PATCH 3/3] gitlab-ci: Update targets, add cross-compilation test
Date: Mon, 20 Aug 2018 08:20:44 +0200	[thread overview]
Message-ID: <dbabaeed72af36fe382c68c4fedfbb95a4ede041.1534746044.git.jan.kiszka@siemens.com> (raw)
In-Reply-To: <cover.1534746044.git.jan.kiszka@siemens.com>
In-Reply-To: <cover.1534746044.git.jan.kiszka@siemens.com>

From: Jan Kiszka <jan.kiszka@siemens.com>

We dropped wheezy but added buster by now. Moreover, we should check the
cross-build feature by running the qemuarm/64-stretch targets in that
mode. And to avoid stumbling over artifacts from previous builds, we
need to set GIT_STRATEGY to "clone".

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 .gitlab-ci.yml | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 79a6710..da73826 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,8 @@
 image: kasproject/kas-isar:latest
 
+variables:
+  GIT_STRATEGY: clone
+
 all:
   stage: build
   script:
@@ -9,12 +12,15 @@ all:
     - export no_proxy=$NO_PROXY
     - source isar-init-build-env out
     - bitbake
-        multiconfig:qemuarm-wheezy:isar-image-base
         multiconfig:qemuarm-jessie:isar-image-base
-        multiconfig:qemuarm-stretch:isar-image-base
-        multiconfig:qemuarm64-stretch:isar-image-base
         multiconfig:qemui386-jessie:isar-image-base
         multiconfig:qemui386-stretch:isar-image-base
+        multiconfig:qemui386-buster:isar-image-base
         multiconfig:qemuamd64-jessie:isar-image-base
         multiconfig:qemuamd64-stretch:isar-image-base
+        multiconfig:qemuamd64-buster:isar-image-base
         multiconfig:rpi-jessie:isar-image-base
+    - sed -i -e 's/ISAR_CROSS_COMPILE ?= "0"/ISAR_CROSS_COMPILE ?= "1"/g' conf/local.conf
+    - bitbake
+        multiconfig:qemuarm-stretch:isar-image-base
+        multiconfig:qemuarm64-stretch:isar-image-base
-- 
2.16.4


  parent reply	other threads:[~2018-08-20  6:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-20  6:20 [PATCH 0/3] Cleanups, gitlab-ci update Jan Kiszka
2018-08-20  6:20 ` [PATCH 1/3] scripts: Remove build_parallel Jan Kiszka
2018-08-20  6:20 ` [PATCH 2/3] doc: Remove references to wheezy Jan Kiszka
2018-08-20  6:20 ` Jan Kiszka [this message]
2018-08-27 22:09 ` [PATCH 0/3] Cleanups, gitlab-ci update Maxim Yu. Osipov

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=dbabaeed72af36fe382c68c4fedfbb95a4ede041.1534746044.git.jan.kiszka@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=isar-users@googlegroups.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox