summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authoryintong <yintong.ustc@bytedance.com>2025-04-25 11:23:43 +0800
committerHans Kristian Rosbach <hk-github@circlestorm.org>2025-05-01 22:59:25 +0200
commit830995ff7806337179a0ca531b20fc3f6787c0e4 (patch)
treea33d62ea2f1ba3087e67eb17f7f178f456eb43e5 /.github
parentdd15e04991a9b29c5c482cabd7b0c2e88a87caa7 (diff)
downloadProject-Tick-830995ff7806337179a0ca531b20fc3f6787c0e4.tar.gz
Project-Tick-830995ff7806337179a0ca531b20fc3f6787c0e4.zip
riscv: add bash configure script and related ci support for riscv
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/configure.yml21
-rw-r--r--.github/workflows/pkgcheck.yml8
2 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/configure.yml b/.github/workflows/configure.yml
index 56a89ee6df..b46aa1e3e8 100644
--- a/.github/workflows/configure.yml
+++ b/.github/workflows/configure.yml
@@ -228,6 +228,27 @@ jobs:
configure-args: --warn
packages: gcc@11
+ - name: Ubuntu GCC RISCV64
+ os: ubuntu-latest
+ compiler: riscv64-linux-gnu-gcc
+ configure-args: --warn
+ chost: riscv64-linux-gnu
+ packages: qemu-user crossbuild-essential-riscv64
+
+ - name: Ubuntu GCC RISCV64 No RVV
+ os: ubuntu-latest
+ compiler: riscv64-linux-gnu-gcc
+ configure-args: --warn --without-rvv
+ chost: riscv64-linux-gnu
+ packages: qemu-user crossbuild-essential-riscv64
+
+ - name: Ubuntu GCC RISCV64 Compat No Opt
+ os: ubuntu-latest
+ compiler: riscv64-linux-gnu-gcc
+ configure-args: --warn --zlib-compat --without-optimizations --without-new-strategies
+ chost: riscv64-linux-gnu
+ packages: qemu-user crossbuild-essential-riscv64
+
steps:
- name: Checkout repository
uses: actions/checkout@v4
diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
index a77c5f527d..d1333fecd8 100644
--- a/.github/workflows/pkgcheck.yml
+++ b/.github/workflows/pkgcheck.yml
@@ -74,6 +74,14 @@ jobs:
cmake-args: -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-powerpc64le.cmake
packages: qemu-user gcc-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu libc6-dev-ppc64el-cross
+ - name: Ubuntu GCC RISC-V
+ os: ubuntu-latest
+ chost: riscv64-linux-gnu
+ compiler: riscv64-linux-gnu-gcc
+ cxx-compiler: riscv64-linux-gnu-g++
+ cmake-args: -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-riscv.cmake
+ packages: qemu-user gcc-riscv64-linux-gnu g++-riscv64-linux-gnu libc6-dev-riscv64-cross
+
- name: macOS Clang
os: macOS-latest
compiler: clang