Add strongly typed messages in protocol #167
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: C++ CI | |
| on: | |
| push: | |
| branches: ["master", "v1"] | |
| pull_request: | |
| branches: ["master", "v1"] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: awalsh128/cache-apt-pkgs-action@latest | |
| with: | |
| packages: libgtest-dev cmake ninja-build gcc g++ | |
| version: 1.0 | |
| - name: Build Debug | |
| run: | | |
| mkdir -p build_debug | |
| cmake -Bbuild_debug -S. -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_BUILD_TYPE=Debug | |
| cmake --build build_debug | |
| - name: Test Debug | |
| run: ctest --test-dir build_debug/tests/ --output-on-failure | |
| - name: Build Release | |
| run: | | |
| mkdir -p build_release | |
| cmake -Bbuild_release -S. -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_BUILD_TYPE=Release | |
| cmake --build build_release | |
| - name: Test Release | |
| run: ctest --test-dir build_release/tests/ --output-on-failure |