GPUUploadManager: prevent render-thread deadlock at max page count wi… #4405
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: MacOS/iOS/tvOS build | |
| on: [push, pull_request] | |
| jobs: | |
| precheks: | |
| runs-on: macos-15 | |
| name: MacOS -> Pre-Checks | |
| steps: | |
| - name: Clone repository | |
| uses: actions/checkout@v4 | |
| - name: Format validation | |
| shell: bash | |
| working-directory: ${{github.workspace}}/BuildTools/FormatValidation | |
| run: ./validate_format_mac.sh | |
| build: | |
| needs: precheks | |
| runs-on: macos-15 | |
| strategy: | |
| matrix: | |
| platform: ["MacOS", "iOS", "tvOS"] | |
| build_type: ["Debug", "Release"] | |
| exclude: | |
| # Exclude tvOS-Debug | |
| - platform: "tvOS" | |
| build_type: "Debug" | |
| include: | |
| - platform: "MacOS" | |
| build_type: "Debug" | |
| cmake_args: "-DDILIGENT_BUILD_TESTS=ON" | |
| - platform: "MacOS" | |
| build_type: "Release" | |
| # For some reason AVX2 causes invalid instruction exception on CI, so disable it | |
| cmake_args: "-DDILIGENT_BUILD_CORE_TESTS=ON -DDILIGENT_CLANG_RELEASE_COMPILE_OPTIONS=\"\"" | |
| - platform: "iOS" | |
| cmake_args: "" | |
| - platform: "tvOS" | |
| cmake_args: "" | |
| name: MacOS -> ${{ matrix.platform }}-${{ matrix.build_type }} | |
| steps: | |
| - name: Clone repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Set up build environment | |
| if: success() | |
| uses: DiligentGraphics/github-action/setup-build-env@v10 | |
| with: | |
| platform: ${{ matrix.platform }} | |
| - name: Test Build Scripts | |
| if: success() | |
| shell: bash | |
| run: | | |
| # Test File2Include utility | |
| cd "${{ github.workspace }}/BuildTools/File2Include" | |
| python -m unittest tests.py | |
| - name: Configure CMake | |
| if: success() | |
| uses: DiligentGraphics/github-action/configure-cmake@v10 | |
| with: | |
| build-type: ${{ matrix.build_type }} | |
| cmake-args: ${{ matrix.cmake_args }} | |
| - name: Build | |
| if: success() | |
| uses: DiligentGraphics/github-action/build@v10 | |
| with: | |
| target: install | |
| - name: DiligentCoreTest | |
| if: ${{ success() && matrix.platform == 'MacOS' }} | |
| uses: DiligentGraphics/github-action/run-core-tests@v10 | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| if: ${{ success() && matrix.build_type == 'Release' }} | |
| with: | |
| name: DiligentCore-${{ matrix.platform }}-${{ matrix.build_type }} | |
| path: | | |
| ${{env.DILIGENT_INSTALL_DIR}} | |
| !${{env.DILIGENT_INSTALL_DIR}}/**/*.a | |
| retention-days: 90 |