[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 05/07: Add RISCV to CI and makefile
From: |
Ludovic Courtès |
Subject: |
[Guile-commits] 05/07: Add RISCV to CI and makefile |
Date: |
Tue, 31 Jan 2023 10:13:07 -0500 (EST) |
civodul pushed a commit to branch wip-lightening-riscv
in repository guile.
commit f37793a094fdcc29d2a1708450f2b93b0ee2ef27
Author: Ekaitz Zarraga <ekaitz@elenq.tech>
AuthorDate: Wed Jan 19 11:09:20 2022 +0100
Add RISCV to CI and makefile
---
.gitlab-ci.yml | 9 ++++++++-
tests/Makefile | 3 ++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0360cf0c7..c0a34d52f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,9 +1,10 @@
-image: debian:stable
+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
@@ -11,6 +12,7 @@ before_script:
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
x86-64:
stage: test
@@ -36,3 +38,8 @@ armhf-thumb:
stage: test
script:
- 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"
diff --git a/tests/Makefile b/tests/Makefile
index 5c44bceae..271f3e403 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -14,7 +14,8 @@ TARGETS ?= native ia32 aarch64 armv7 riscv
# 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-aarch64-linux-gnu libc6-dev-arm64-cross libc6:arm64\
+# gcc-riscv64-linux-gnu libc6-dev-riscv64-cross libc6:riscv64
#
CC = gcc
CC_IA32 ?= guix environment --pure -s i686-linux --ad-hoc gcc-toolchain -- gcc
- [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, 2023/01/31
- [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 <=