Skip to content

Commit

Permalink
🤘 2022
Browse files Browse the repository at this point in the history
  • Loading branch information
wobbier committed Jan 15, 2024
1 parent 50e2afb commit eaef678
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2019]
buildconfig: [Editor_Release, Game_Win64_Release]
os: [windows-2022]
buildconfig: [Game_Win64, Editor]
configuration:
- Debug
- Release
- Retail
include:
- os: windows-2019
- os: windows-2022
shell: cmd
compiler: cl
target: Windows
Expand All @@ -30,6 +34,10 @@ jobs:
with:
submodules: recursive

- name: Install Mono
shell: cmd
run: choco install mono

- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
Expand All @@ -51,7 +59,7 @@ jobs:
run: cd Project && call GenerateSolution.bat && cd ../

- name: Compile Tools
if: ${{ matrix.buildconfig == 'Game_Win64_Release' }}
if: ${{ matrix.buildconfig == 'Game_Win64' }}
shell: cmd
run: msbuild Stack.sln /property:Configuration="Editor_Release"

Expand Down Expand Up @@ -87,22 +95,22 @@ jobs:
.build/${{matrix.buildconfig}}/Tools/Win64/*.*
- name: Cook Assets
if: ${{ matrix.buildconfig == 'Game_Win64_Release' }}
if: ${{ matrix.buildconfig == 'Game_Win64' }}
shell: cmd
run: |
cd ".build/Editor_Release/"
call Havana.exe -CompileAssets
cd ../../
- name: Copy Cooked Assets
if: ${{ matrix.buildconfig == 'Game_Win64_Release' }}
if: ${{ matrix.buildconfig == 'Game_Win64' }}
shell: cmd
continue-on-error: true
run: |
robocopy ".build/Editor_Release/Assets" ".build\\Game_Win64_Release\\Assets" *.* /w:0 /r:1 /v /E
robocopy ".build/Editor_Release/Assets" ".build\\Game_Win64\\Assets" *.* /w:0 /r:1 /v /E
- name: Archive Build
if: ${{ matrix.buildconfig == 'Game_Win64_Release' }}
if: ${{ matrix.buildconfig == 'Game_Win64' }}
uses: actions/upload-artifact@v2
with:
name: Stack v${{github.run_number}} - ${{matrix.buildconfig}}
Expand Down

0 comments on commit eaef678

Please sign in to comment.