[U-Boot,2/2] gitlab-ci: Move the pyelfutils section
diff mbox series

Message ID 1563463648-7409-2-git-send-email-trini@konsulko.com
State Accepted
Commit f0db8395b4dcd415288c8035bc71bbf1b44e0346
Delegated to: Tom Rini
Headers show
Series
  • [U-Boot,1/2] GitLab CI: Split the world build into 4 jobs
Related show

Commit Message

Tom Rini July 18, 2019, 3:27 p.m. UTC
We need this for building some 64bit ARM platforms, not for test.py
runs.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Tom Rini July 19, 2019, 12:06 a.m. UTC | #1
On Thu, Jul 18, 2019 at 11:27:28AM -0400, Tom Rini wrote:

> We need this for building some 64bit ARM platforms, not for test.py
> runs.
> 
> Signed-off-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!

Patch
diff mbox series

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c24a7eaa628f..e27d86f96281 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,7 +22,6 @@  stages:
     - . /tmp/venv/bin/activate
     - pip install pytest==2.8.7
     - pip install python-subunit
-    - pip install pyelftools
     - grub-mkimage -o ~/grub_x86.efi -O i386-efi normal  echo lsefimmap lsefi lsefisystab efinet tftp minicmd
     - grub-mkimage -o ~/grub_x64.efi -O x86_64-efi normal  echo lsefimmap lsefi lsefisystab efinet tftp minicmd
     - mkdir ~/grub2-arm
@@ -83,6 +82,9 @@  build all 64bit ARM plaforms:
   tags: [ 'all' ]
   stage: world build
   script:
+    - virtualenv /tmp/venv
+    - . /tmp/venv/bin/activate
+    - pip install pyelftools
     - ret=0;
      ./tools/buildman/buildman -P -E aarch64 || ret=$?;
      if [[ $ret -ne 0 && $ret -ne 129 ]]; then