Try different badge formatting #5
  
    
      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: CMake Build Matrix | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Configure with CMake | |
| run: cmake -B ${{github.workspace}}/build | |
| - name: Build main project | |
| run: cmake --build ${{github.workspace}}/build | |
| - name: Build tests | |
| run: cmake --build ${{github.workspace}}/build --target tests | |
| - name: Run tests | |
| run: ctest --test-dir ${{github.workspace}}/build/src | |