Another iteration on cooking job

This commit is contained in:
Wojtek Figat
2024-12-05 11:21:51 +01:00
parent 2230f907fd
commit 4ac334acac
2 changed files with 11 additions and 4 deletions

View File

@@ -34,14 +34,16 @@ jobs:
path: FlaxSamples path: FlaxSamples
- name: Build Editor - name: Build Editor
run: | run: |
cp .github\data\ExitOnEsc.cs FlaxSamples\MaterialsFeaturesTour\Source\Game
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -printSDKs -dotnet=8 -arch=x64 -platform=Windows -configuration=Development -buildtargets=FlaxEditor .\Development\Scripts\Windows\CallBuildTool.bat -build -log -printSDKs -dotnet=8 -arch=x64 -platform=Windows -configuration=Development -buildtargets=FlaxEditor
- name: Cook Game (Windows) - name: Cook Game (Windows)
shell: cmd
run: | run: |
cp .github\data\ExitOnEsc.cs FlaxSamples\MaterialsFeaturesTour\Source\Game start /w 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) - name: Test Game (Windows)
shell: cmd
run: | run: |
.\FlaxSamples\MaterialsFeaturesTour\Output\Windows\MaterialsFeaturesTour.exe -std -headless -mute -null start /w FlaxSamples\MaterialsFeaturesTour\Output\Windows\MaterialsFeaturesTour.exe -std -headless -mute -null
# Cook on Mac # Cook on Mac
cook-mac: cook-mac:
@@ -50,10 +52,15 @@ jobs:
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Setup .NET - name: Setup .NET
uses: actions/setup-dotnet@v3 uses: actions/setup-dotnet@v3
with: with:
dotnet-version: 8.0.x dotnet-version: 8.0.x
- name: Setup .NET Workload
run: |
dotnet workload install ios
- name: Print .NET info - name: Print .NET info
run: | run: |
dotnet --info dotnet --info

View File

@@ -16,7 +16,7 @@
#include <iostream> #include <iostream>
#define LOG_ENABLE_FILE (!PLATFORM_SWITCH) #define LOG_ENABLE_FILE (!PLATFORM_SWITCH)
#define LOG_ENABLE_WINDOWS_SINGLE_NEW_LINE_CHAR (PLATFORM_DESKTOP && (USE_EDITOR || !BUILD_RELEASE)) #define LOG_ENABLE_WINDOWS_SINGLE_NEW_LINE_CHAR (PLATFORM_WINDOWS && PLATFORM_DESKTOP && (USE_EDITOR || !BUILD_RELEASE))
namespace namespace
{ {