Another iteration on cooking job

This commit is contained in:
Wojtek Figat
2024-12-06 09:37:21 +01:00
parent 2441a35611
commit 6f00d664bb
3 changed files with 20 additions and 1 deletions

View File

@@ -32,13 +32,22 @@
},
{
"Name": "Linux",
"Output": "Output\\LInux",
"Output": "Output\\Linux",
"Platform": 6,
"Mode": 1,
"CustomDefines": null,
"PreBuildAction": null,
"PostBuildAction": null
},
{
"Name": "Mac",
"Output": "Output\\Mac",
"Platform": 13,
"Mode": 1,
"CustomDefines": null,
"PreBuildAction": null,
"PostBuildAction": null
},
{
"Name": "Android",
"Output": "Output\\Android",

View File

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

View File

@@ -11,6 +11,7 @@ jobs:
cook-windows:
name: Cook (Windows)
runs-on: "windows-2022"
if: false
steps:
- name: Checkout repo
uses: actions/checkout@v3
@@ -81,6 +82,12 @@ jobs:
- name: Build Editor
run: |
./Development/Scripts/Mac/CallBuildTool.sh -build -log -printSDKs -dotnet=8 -arch=ARM64 -platform=Mac -configuration=Development -buildtargets=FlaxEditor
- name: Cook Game (Mac)
run: |
./Binaries/Editor/Mac/Development/FlaxEditor -std -headless -mute -null -project "FlaxSamples/MaterialsFeaturesTour" -build "Development.Mac"
- name: Test Game (Mac)
run: |
./FlaxSamples/MaterialsFeaturesTour/Outpu/Mac/MaterialsFeaturesTour" -std -headless -mute -null
- name: Cook Game (iOS)
run: |
./Binaries/Editor/Mac/Development/FlaxEditor -std -headless -mute -null -project "FlaxSamples/MaterialsFeaturesTour" -build "Development.iOS"