Merge pull request #16 from gon1332/add-cmake #173
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: Unit Test | |
on: | |
push: {} | |
pull_request: {} | |
jobs: | |
unit_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: "true" | |
- name: Install dependencies | |
run: sudo apt install cmake ninja-build | |
- name: Build and run unit tests | |
run: | | |
cmake --preset ut | |
cmake --build --preset ut cmake-build-ut | |
ctest --preset ut |