name: CMake Build on: push: branches: [ main, master ] pull_request: branches: [ main, master ] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest] steps: - name: Checkout code uses: actions/checkout@v4 - name: Configure CMake run: cmake -B build -DCMAKE_BUILD_TYPE=Release - name: Build run: cmake --build build --config Release