Update Clang-Format and add a github workflow to checkup current and new code #7
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" | |
| # This is a CI workflow that builds the project on Windows | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| env: | |
| BUILD_TYPE: Release | |
| jobs: | |
| build: | |
| name: "Build" | |
| runs-on: ${{ matrix.platform }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: [windows-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Build | |
| run: | | |
| mkdir build | |
| cd build | |
| cmake .. -DBUILD_EXAMPLES=ON | |
| cmake --build . --config ${{env.BUILD_TYPE}} |