Prepared v0.2.1 release\n- Updated project version to 0.2.1\n- Update… #19
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - '**' | |
| pull_request: | |
| jobs: | |
| build-test-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y cppcheck python3-sphinx python3-sphinx-rtd-theme | |
| - name: Configure | |
| run: cmake -S . -B build -DENABLE_TESTING=ON | |
| - name: Build tests | |
| run: cmake --build build --target gates_tests -j 2 | |
| - name: Run tests | |
| run: ctest --test-dir build --output-on-failure | |
| - name: Build executable | |
| run: cmake --build build --target gates -j 2 | |
| - name: Version smoke test | |
| run: ./build/gates --version | |
| - name: Build docs | |
| run: ./build_docs.sh | |
| - name: Run cppcheck | |
| run: cmake --build build --target cppcheck |