fix templates 3 #11
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: Continuous Testing | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
- qa | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive # Fetch Google Test submodule | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install -y cmake build-essential | |
- name: Configure project | |
run: cmake -S . -B build | |
- name: Build project | |
run: cmake --build build | |
- name: Run unit tests | |
run: cd build && ctest --output-on-failure |