File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,6 +86,14 @@ commands:
8686 command : |
8787 curl -L https://github.com/Kitware/CMake/releases/download/v<<parameters.version>>/cmake-<<parameters.version>>-linux-x86_64.tar.gz | sudo tar -xz --strip=1
8888
89+ install_riscv_toolchain :
90+ steps :
91+ - run :
92+ name : " Install RISC-V Toolchain"
93+ working_directory : /usr/local
94+ command : |
95+ curl -L https://github.com/riscv-collab/riscv-gnu-toolchain/releases/download/2023.07.07/riscv32-glibc-ubuntu-22.04-llvm-nightly-2023.07.07-nightly.tar.gz | sudo tar -xz
96+
8997 checkout_submodules :
9098 steps :
9199 - run :
@@ -659,6 +667,16 @@ jobs:
659667 working_directory : ~/build
660668 command : (! qemu-x86_64-static bin/evmone-unittests 2>&1) | grep "CPU does not support"
661669
670+ riscv32 :
671+ executor : linux-gcc-latest
672+ environment :
673+ BUILD_TYPE : Release
674+ CMAKE_OPTIONS : -DCMAKE_TOOLCHAIN_FILE=~/project/cmake/toolchains/riscv32.cmake
675+ steps :
676+ - install_riscv_toolchain
677+ - build
678+ - test
679+
662680
663681
664682workflows :
@@ -705,4 +723,5 @@ workflows:
705723 # - xcode-min
706724 - gcc-32bit
707725 - x86-64-v1
726+ - riscv32
708727 - fuzzing
You can’t perform that action at this time.
0 commit comments