File tree Expand file tree Collapse file tree
Editor/SandboxProject/Assets Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Build LuxEngine
22
33on :
4+ workflow_dispatch :
45 push :
56 branches :
67 - master
1112 - master
1213 - dev
1314
14- env :
15+ env :
1516 GITHUB_WORKSPACE : ${{ github.workspace }}
1617 SOLUTION_FILE_PATH : Lux.sln
18+ BUILD_PLATFORM : Mixed Platforms
19+ PREMAKE_GENERATOR : vs2022
1720
1821permissions :
1922 contents : read
2023
2124jobs :
2225 build :
23- runs-on : windows-latest
26+ runs-on : windows-2025
2427 strategy :
2528 fail-fast : false
2629 matrix :
3033 - name : Checkout repository
3134 uses : actions/checkout@v6.0.2
3235 with :
33- repository : ' starbounded-dev/LuxEngine'
34- submodules : true
36+ submodules : recursive
3537 lfs : true
3638
3739 - name : Setup Python
@@ -47,22 +49,34 @@ jobs:
4749 install_runtime : true
4850 cache : true
4951 stripdown : true
50-
52+
5153 install_swiftshader : false
5254 install_lavapipe : false
5355
5456 - name : Set up MSBuild
5557 uses : microsoft/setup-msbuild@v3
5658 with :
5759 msbuild-architecture : ' x64'
58-
60+
5961 - name : Setup
6062 working-directory : ${{env.GITHUB_WORKSPACE}}
6163 run : |
6264 cd scripts
63- python Setup.py vs2026
65+ python Setup.py ${{ env.PREMAKE_GENERATOR }}
66+
67+ - name : Prepare logs
68+ working-directory : ${{env.GITHUB_WORKSPACE}}
69+ run : New-Item -ItemType Directory -Force logs
6470
6571 - name : Build
6672 working-directory : ${{env.GITHUB_WORKSPACE}}
6773 run : |
68- MSBuild ${{env.SOLUTION_FILE_PATH}} /m /p:Configuration=${{ matrix.configuration }} -fl -flp:logfile=logs/Build-${{ matrix.configuration }}.log
74+ MSBuild "${{ env.SOLUTION_FILE_PATH }}" /m "/p:Configuration=${{ matrix.configuration }}" "/p:Platform=${{ env.BUILD_PLATFORM }}" /fl "/flp:logfile=logs\Build-${{ matrix.configuration }}.log;verbosity=normal"
75+
76+ - name : Upload build logs
77+ if : always()
78+ uses : actions/upload-artifact@v4
79+ with :
80+ name : build-logs-${{ matrix.configuration }}
81+ path : logs/*.log
82+ if-no-files-found : ignore
Original file line number Diff line number Diff line change @@ -31,3 +31,4 @@ Editor/Resources/Cache
3131Lux.slnx
3232Editor /App.lsettings
3333Editor /SandboxProject /Assets /Cache /Thumbnails
34+ Editor /SandboxProject /Assets /AssetRegistry.lzr
You can’t perform that action at this time.
0 commit comments