[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"
- [Guile-commits] branch wip-lightening-riscv created (now a88ebcc1e), Ludovic Courtès, 2023/01/31
- [Guile-commits] 01/07: Makefile: RISCV support and optional vars, Ludovic Courtès, 2023/01/31
- [Guile-commits] 07/07: Merge remote-tracking branch 'ekaitz/main' into wip-lightening-riscv, Ludovic Courtès, 2023/01/31
- [Guile-commits] 06/07: Fix CI,
Ludovic Courtès <=
- [Guile-commits] 04/07: RISC-V Support, Ludovic Courtès, 2023/01/31
- [Guile-commits] 02/07: Add tags to gitignore, Ludovic Courtès, 2023/01/31
- [Guile-commits] 03/07: Add editorconfig, Ludovic Courtès, 2023/01/31
- [Guile-commits] 05/07: Add RISCV to CI and makefile, Ludovic Courtès, 2023/01/31