fix fixed ui_camera() crash when not a single camera was created #106
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: Build | |
on: | |
push: | |
paths: | |
- '.github/workflows/build.yml' | |
- 'src/**' | |
pull_request: | |
paths: | |
- '.github/workflows/build.yml' | |
- 'src/**' | |
env: | |
CMAKE_BUILD_TYPE: Release | |
CMAKE_GENERATOR_PLATFORM: x64 | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Configure CMake | |
run: >- | |
cmake | |
-S "${{github.workspace}}/.github" | |
-B "${{github.workspace}}/build" | |
-DCMAKE_BUILD_TYPE=${{env.CMAKE_BUILD_TYPE}} | |
-DCMAKE_GENERATOR_PLATFORM=${{env.CMAKE_GENERATOR_PLATFORM}} | |
- name: Build | |
run: >- | |
cmake | |
--build "${{github.workspace}}/build" | |
--config ${{env.CMAKE_BUILD_TYPE}} | |
--verbose |