Another iteration on cooking job

This commit is contained in:
Wojtek Figat
2024-12-05 23:23:19 +01:00
parent 76518ac051
commit 2441a35611
2 changed files with 4 additions and 6 deletions

2
.github/data/Cook.ps1 vendored Normal file
View File

@@ -0,0 +1,2 @@
Start-Process -filepath "Binaries\Editor\Win64\Development\FlaxEditor.exe" -Wait -NoNewWindow -PassThru -ArgumentList '-std -headless -mute -null -project "FlaxSamples/MaterialsFeaturesTour" -build "Development.Windows"'
Start-Process -filepath "FlaxSamples\MaterialsFeaturesTour\Output\Windows\MaterialsFeaturesTour.exe" -Wait -NoNewWindow -PassThru -ArgumentList '-std -headless -mute -null'

View File

@@ -39,14 +39,10 @@ jobs:
- name: Build Editor
run: |
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -printSDKs -dotnet=8 -arch=x64 -platform=Windows -configuration=Development -buildtargets=FlaxEditor
- name: Cook Game (Windows)
- name: Cook and Test Game (Windows)
shell: pwsh
run: |
./Binaries/Editor/Win64/Development/FlaxEditor.exe -std -headless -mute -null -project "FlaxSamples/MaterialsFeaturesTour" -build "Development.Windows"
- name: Test Game (Windows)
shell: pwsh
run: |
./FlaxSamples/MaterialsFeaturesTour/Output/Windows/MaterialsFeaturesTour.exe -std -headless -mute -null
.\.github\data\Cook.ps1
# Cook on Mac
cook-mac: