Implement Hazel3D-style dual-manager asset system with async loading and specialized serializers #266
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: Build LuxEngine | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - dev | |
| - 'features/**' # Glob pattern for any branch starting with 'features/' | |
| pull_request: | |
| branches: | |
| - master | |
| - dev | |
| env: | |
| GITHUB_WORKSPACE: ${{ github.workspace }} | |
| SOLUTION_FILE_PATH: Lux.sln | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| configuration: [Debug, Release, Dist] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6.0.2 | |
| with: | |
| repository: 'starbounded-dev/LuxEngine' | |
| submodules: true | |
| lfs: true | |
| - name: Setup Python | |
| uses: actions/setup-python@v6.2.0 | |
| with: | |
| python-version: '3.11' | |
| - name: Install Vulkan SDK | |
| uses: jakoch/install-vulkan-sdk-action@v1.4.0 | |
| with: | |
| vulkan_version: 1.4.335.0 | |
| optional_components: com.lunarg.vulkan.vma, com.lunarg.vulkan.debug, com.lunarg.vulkan.glm | |
| install_runtime: true | |
| cache: true | |
| stripdown: true | |
| install_swiftshader: false | |
| install_lavapipe: false | |
| - name: Set up MSBuild | |
| uses: microsoft/setup-msbuild@v2 | |
| with: | |
| msbuild-architecture: 'x64' | |
| - name: Setup | |
| working-directory: ${{env.GITHUB_WORKSPACE}} | |
| run: | | |
| cd scripts | |
| python Setup.py | |
| - name: Build | |
| working-directory: ${{env.GITHUB_WORKSPACE}} | |
| run: | | |
| MSBuild ${{env.SOLUTION_FILE_PATH}} /m /p:Configuration=${{ matrix.configuration }} -fl -flp:logfile=logs/Build-${{ matrix.configuration }}.log |