Another iteration on cooking job
This commit is contained in:
12
.github/workflows/cooking.yml
vendored
12
.github/workflows/cooking.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
||||
fetch-depth: 1
|
||||
repository: FlaxEngine/FlaxSamples
|
||||
path: FlaxSamples
|
||||
- name: Path Files
|
||||
- name: Patch Files
|
||||
run: |
|
||||
cp .github\data\ExitOnEsc.cs FlaxSamples\MaterialsFeaturesTour\Source\Game
|
||||
cp ".github\data\Build Settings.json" "FlaxSamples\MaterialsFeaturesTour\Content\Settings"
|
||||
@@ -40,13 +40,13 @@ jobs:
|
||||
run: |
|
||||
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -printSDKs -dotnet=8 -arch=x64 -platform=Windows -configuration=Development -buildtargets=FlaxEditor
|
||||
- name: Cook Game (Windows)
|
||||
shell: bash
|
||||
shell: pwsh
|
||||
run: |
|
||||
./Binaries/Editor/Win64/Development/FlaxEditor.exe -std -headless -mute -null -project "FlaxSamples/MaterialsFeaturesTour" -build "Development.Windows"
|
||||
& "./Binaries/Editor/Win64/Development/FlaxEditor.exe" -std -headless -mute -null -project "FlaxSamples/MaterialsFeaturesTour" -build "Development.Windows"
|
||||
- name: Test Game (Windows)
|
||||
shell: bash
|
||||
shell: pwsh
|
||||
run: |
|
||||
./FlaxSamples/MaterialsFeaturesTour/Output/Windows/MaterialsFeaturesTour.exe -std -headless -mute -null
|
||||
& "./FlaxSamples/MaterialsFeaturesTour/Output/Windows/MaterialsFeaturesTour.exe" -std -headless -mute -null
|
||||
|
||||
# Cook on Mac
|
||||
cook-mac:
|
||||
@@ -78,7 +78,7 @@ jobs:
|
||||
fetch-depth: 1
|
||||
repository: FlaxEngine/FlaxSamples
|
||||
path: FlaxSamples
|
||||
- name: Path Files
|
||||
- name: Patch Files
|
||||
run: |
|
||||
cp .github/data/ExitOnEsc.cs FlaxSamples/MaterialsFeaturesTour/Source/Game
|
||||
cp ".github/data/Build Settings.json" "FlaxSamples/MaterialsFeaturesTour/Content/Settings"
|
||||
|
||||
Reference in New Issue
Block a user