From b4533211a7deae776ad94ae7729d4f2fc39e5e6f Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Thu, 20 May 2021 22:53:10 +0200 Subject: [PATCH] Tweak build for test --- .github/workflows/cd.yml | 13 +++++++++---- Source/Tools/Flax.Build/Deploy/Deployment.Editor.cs | 5 ++--- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index fd752a9af..d7b7b1bcd 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -16,12 +16,17 @@ jobs: git lfs pull - name: Build run: | - .\PackageEditor.bat -arch=x64 -platform=Windows -deployOutput=Output + .\PackageEditor.bat -arch=x64 -platform=Windows -deployOutput=Output -configuration=Debug - name: Upload uses: actions/upload-artifact@v2 with: name: Windows-Editor path: Output/Editor.zip + - name: Upload + uses: actions/upload-artifact@v2 + with: + name: Windows-EditorDebugSymbols + path: Output/EditorDebugSymbols.zip package-windows-game: name: Game (Windows) runs-on: "windows-latest" @@ -34,7 +39,7 @@ jobs: git lfs pull - name: Build run: | - .\PackagePlatforms.bat -arch=x64 -platform=Windows -deployOutput=Output + .\PackagePlatforms.bat -arch=x64 -platform=Windows -deployOutput=Output -configuration=Debug - name: Upload uses: actions/upload-artifact@v2 with: @@ -60,7 +65,7 @@ jobs: sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev build-essential gettext libtool libtool-bin libpulse-dev libasound2-dev libjack-dev portaudio19-dev - name: Build run: | - ./PackageEditor.sh -arch=x64 -platform=Linux -deployOutput=Output + ./PackageEditor.sh -arch=x64 -platform=Linux -deployOutput=Output -configuration=Debug - name: Upload uses: actions/upload-artifact@v2 with: @@ -84,7 +89,7 @@ jobs: sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev build-essential gettext libtool libtool-bin libpulse-dev libasound2-dev libjack-dev portaudio19-dev - name: Build run: | - ./PackagePlatforms.sh -arch=x64 -platform=Linux -deployOutput=Output + ./PackagePlatforms.sh -arch=x64 -platform=Linux -deployOutput=Output -configuration=Debug - name: Upload uses: actions/upload-artifact@v2 with: diff --git a/Source/Tools/Flax.Build/Deploy/Deployment.Editor.cs b/Source/Tools/Flax.Build/Deploy/Deployment.Editor.cs index d847c3554..60c2da62e 100644 --- a/Source/Tools/Flax.Build/Deploy/Deployment.Editor.cs +++ b/Source/Tools/Flax.Build/Deploy/Deployment.Editor.cs @@ -41,9 +41,8 @@ namespace Flax.Deploy Log.Info(string.Empty); // Deploy binaries - DeployEditorBinaries(TargetConfiguration.Debug); - DeployEditorBinaries(TargetConfiguration.Development); - DeployEditorBinaries(TargetConfiguration.Release); + foreach (var configuration in Deployer.Configurations) + DeployEditorBinaries(configuration); { var binariesSubDir = "Binaries/Tools"; var src = Path.Combine(RootPath, binariesSubDir);