update to godot 4.5, bugfixes #221
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: GDExtension CMake | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| name: Linux GCC | |
| compiler_c: gcc | |
| compiler_cxx: g++ | |
| build_type: Debug | |
| - os: windows-latest | |
| name: Windows MSVC | |
| compiler_c: cl | |
| compiler_cxx: cl | |
| build_type: Debug | |
| - os: macos-latest | |
| name: macOS Clang | |
| compiler_c: clang | |
| compiler_cxx: clang++ | |
| build_type: Debug | |
| name: ${{ matrix.name }} | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install Ninja | |
| uses: seanmiddleditch/gha-setup-ninja@master | |
| - name: Install scons | |
| run: pip3 install scons | |
| - name: Configure CMake | |
| run: > | |
| cmake -B ${{ github.workspace }}/.out | |
| -DCMAKE_CXX_COMPILER=${{ matrix.compiler_cxx }} | |
| -DCMAKE_C_COMPILER=${{ matrix.compiler_c }} | |
| -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} | |
| -S ${{ github.workspace }} | |
| -G Ninja | |
| - name: Build | |
| run: cmake --build ${{ github.workspace }}/.out --config ${{ matrix.build_type }} --target roguelite --parallel |