Skip to content

moves mask generation for mstatus into common, #29

moves mask generation for mstatus into common,

moves mask generation for mstatus into common, #29

Workflow file for this run

name: CI C++ Std compliance
on:
push:
paths:
- '**.hpp'
- '**.cpp'
- '**.h'
- '**.c'
- '**CMakeLists.txt'
- '.github/workflows/**'
- 'conanfile.py'
pull_request:
paths:
- '**.hpp'
- '**.cpp'
- '**.h'
- '**.c'
- '**CMakeLists.txt'
- '.github/workflows/**'
- 'conanfile.py'
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
cpp_std: [17, 20]
steps:
- uses: actions/checkout@v4
- name: Update submodules
run: git submodule update --init --recursive
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y g++ python3-pip cmake
pip3 install conan
cmake --version
- name: Configure
run: WITH_LLVM=1 cmake --preset Release -B build -DCMAKE_CXX_STANDARD=${{ matrix.cpp_std }} -DWITH_LLVM=ON
- name: Build
run: WITH_LLVM=1 cmake --build build -j
- name: Run smoke test
run: ./build/riscv-sim -h