guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 06/07: Fix CI


From: Ludovic Courtès
Subject: [Guile-commits] 06/07: Fix CI
Date: Tue, 31 Jan 2023 10:13:07 -0500 (EST)

civodul pushed a commit to branch wip-lightening-riscv
in repository guile.

commit b17ba7b6b565bb22ae11786efc22b9136139635f
Author: Ekaitz Zarraga <ekaitz@elenq.tech>
AuthorDate: Wed Jan 19 12:20:42 2022 +0100

    Fix CI
---
 .gitlab-ci.yml | 39 +++++++++++++++++++++++++++------------
 1 file changed, 27 insertions(+), 12 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c0a34d52f..3ad7504b3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,45 +1,60 @@
 image: debian:unstable
 
 before_script:
-  - dpkg --add-architecture i386
-  - dpkg --add-architecture arm64
-  - dpkg --add-architecture armhf
-  - dpkg --add-architecture riscv64
   - apt-get update -qq
-  - apt-get install -y
-      libc6-dev:amd64 gcc make
-      qemu binfmt-support qemu-user-static
-      gcc-i686-linux-gnu libc6-dev-i386-cross libc6:i386
-      gcc-aarch64-linux-gnu libc6-dev-arm64-cross libc6:arm64
-      gcc-arm-linux-gnueabihf libc6-dev-armhf-cross libc6:armhf
-      gcc-riscv64-linux-gnu libc6-dev-riscv64-cross libc6:riscv64
+  - apt-get install -y make qemu binfmt-support qemu-user-static
 
 x86-64:
   stage: test
   script:
+    - dpkg --add-architecture arm64
+    - apt-get update -qq
+    - apt-get install -y libc6-dev:amd64 gcc
     - make -C tests test-native
 
 i686:
   stage: test
   script:
+    - dpkg --add-architecture i386
+    - apt-get update -qq
+    - apt-get install -y gcc-i686-linux-gnu libc6-dev-i386-cross libc6:i386
     - make -C tests test-ia32 CC_IA32=i686-linux-gnu-gcc
 
 aarch64:
   stage: test
   script:
+    - dpkg --add-architecture arm64
+    - apt-get update -qq
+    - apt-get install -y gcc-aarch64-linux-gnu libc6-dev-arm64-cross 
libc6:arm64
     - make -C tests test-aarch64 CC_AARCH64=aarch64-linux-gnu-gcc
 
 armhf:
   stage: test
   script:
+    - dpkg --add-architecture armhf
+    - apt-get update -qq
+    - apt-get install -y gcc-arm-linux-gnueabihf libc6-dev-armhf-cross 
libc6:armhf
     - make -C tests test-armv7 CC_ARMv7="arm-linux-gnueabihf-gcc -marm"
 
+
 armhf-thumb:
   stage: test
   script:
+    - dpkg --add-architecture armhf
+    - apt-get update -qq
+    - apt-get install -y gcc-arm-linux-gnueabihf libc6-dev-armhf-cross 
libc6:armhf
     - make -C tests test-armv7 CC_ARMv7="arm-linux-gnueabihf-gcc -mthumb"
 
+
 riscv:
   stage: test
   script:
-    - make -C tests test-riscv CC_RISCV="riscv64-linux-gnu-gcc"
+    - dpkg --add-architecture riscv64
+    - apt-get update -qq
+    - apt-get install -y gcc-riscv64-linux-gnu
+    - echo /usr/local/lib/riscv64-linux-gnu   
>>/etc/ld.so.conf.d/riscv64-linux-gnu.conf
+    - echo /lib/riscv64-linux-gnu             
>>/etc/ld.so.conf.d/riscv64-linux-gnu.conf
+    - echo /usr/lib/riscv64-linux-gnu         
>>/etc/ld.so.conf.d/riscv64-linux-gnu.conf
+    - echo /usr/riscv64-linux-gnu/lib         
>>/etc/ld.so.conf.d/riscv64-linux-gnu.conf
+    - ln -s /usr/riscv64-linux-gnu/lib/ld-linux-riscv64-lp64d.so.1 /lib
+    - make -C tests test-riscv CC_RISCV="riscv64-linux-gnu-gcc -static"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]