Update cmake.yml #4
This file contains 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 | |
on: | |
push: | |
branches: ['*'] # Trigger on push events for all branches | |
pull_request: | |
branches: ['master'] # Trigger on pull requests to master | |
workflow_dispatch: # Allow manual triggering of workflow | |
jobs: | |
build: | |
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' | |
uses: ./.github/workflows/cmake.yml | |
with: | |
build_type: "Debug" | |
build_pr: | |
if: github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'master' | |
uses: ./.github/workflows/cmake.yml | |
with: | |
build_type: "Release" |