File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI C++ Std compliance
2+
3+ on :
4+ push :
5+ paths :
6+ - ' **.hpp'
7+ - ' **.cpp'
8+ - ' **.h'
9+ - ' **.c'
10+ - ' **CMakeLists.txt'
11+ - ' .github/workflows/**'
12+ - ' conanfile.py'
13+ pull_request :
14+ paths :
15+ - ' **.hpp'
16+ - ' **.cpp'
17+ - ' **.h'
18+ - ' **.c'
19+ - ' **CMakeLists.txt'
20+ - ' .github/workflows/**'
21+ - ' conanfile.py'
22+
23+ jobs :
24+ build-and-test :
25+ runs-on : ubuntu-latest
26+ strategy :
27+ matrix :
28+ cpp_std : [11, 14, 17, 20]
29+ steps :
30+ - uses : actions/checkout@v4
31+
32+ - name : Update submodules
33+ run : git submodule update --init --recursive
34+
35+ - name : Install dependencies
36+ run : |
37+ sudo apt-get update
38+ sudo apt-get install -y g++ python3-pip cmake
39+ pip3 install conan
40+ cmake --version
41+
42+ - name : Configure
43+ run : cmake --preset Debug -B build -DCMAKE_CXX_STANDARD=${{ matrix.cpp_std }}
44+
45+ - name : Build
46+ run : cmake --build build -j
47+
48+ - name : Run smoke test
49+ run : ./build/riscv-sim -h
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
44###############################################################################
55#
66###############################################################################
7- project (dbt-rise-riscv VERSION 2.0 .0 LANGUAGES C CXX )
7+ project (dbt-rise-riscv VERSION 2.1 .0 LANGUAGES C CXX )
88
99option (UPDATE_EXTERNAL_PROJECT "Whether to pull changes in external projects" ON )
1010
You can’t perform that action at this time.
0 commit comments