Commit 52c710e 1 parent 77b9a49 commit 52c710e Copy full SHA for 52c710e
File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,14 @@ commands:
86
86
command : |
87
87
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
88
88
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
+
89
97
checkout_submodules :
90
98
steps :
91
99
- run :
@@ -655,6 +663,16 @@ jobs:
655
663
working_directory : ~/build
656
664
command : (! qemu-x86_64-static bin/evmone-unittests 2>&1) | grep "CPU does not support"
657
665
666
+ riscv32 :
667
+ executor : linux-gcc-latest
668
+ environment :
669
+ BUILD_TYPE : Release
670
+ CMAKE_OPTIONS : -DCMAKE_TOOLCHAIN_FILE=~/project/cmake/toolchains/riscv32.cmake
671
+ steps :
672
+ - install_riscv_toolchain
673
+ - build
674
+ - test
675
+
658
676
659
677
660
678
workflows :
@@ -701,4 +719,5 @@ workflows:
701
719
# - xcode-min
702
720
- gcc-32bit
703
721
- x86-64-v1
722
+ - riscv32
704
723
- fuzzing
You can’t perform that action at this time.
0 commit comments