Add cmake build and test github action (ubuntu) #1
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: CMake build and test (Ubuntu latest) | |
on: | |
push: | |
branches: [ "libcheck_unit_tests" ] | |
pull_request: | |
branches: [ "libcheck_unit_tests" ] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: CMake configuration step | |
run: cmake --preset debug | |
- name: CMake build and test step | |
run: cmake --build --preset debug |