name: cmake
on: [check_run, push, pull_request]
jobs:
  cmake-publish:
    runs-on: ${{ matrix.os }}

    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]
        
    steps:
      - name: checkout project
        uses: actions/checkout@v4

      - name: build project
        uses: threeal/cmake-action@v2.0.0