20240125_focal_sum_CMake_presets_v2_git #2
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: Linux CI | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup CMake | |
uses: actions/setup-cmake@v2 | |
with: | |
cmake-version: '3.21' | |
- name: Configure | |
run: cmake --preset=gprof_pg_flag -DCMAKE_INSTALL_PREFIX=install_gprof | |
- name: Build | |
run: cmake --build --preset=gprof_pg_flag --target install | |
- name: Run Tests | |
run: ctest --preset test_gprof_pg_flag |