Regenerate sail-cheri-riscv with latest HEAD commit #147
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: C/C++ CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
build_type: [Debug, Release] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Ensure pre-commit checks pass | |
run: pip install pre-commit && pre-commit run --all-files --show-diff-on-failure --color=always | |
- name: 'Run CMake and build' | |
run: | | |
mkdir -p build | |
cd build && cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} .. | |
make -j`nproc` | |
- name: Run tests | |
run: cd build && ctest -V -j`nproc` |