Skip to content

Commit

Permalink
Merge branch 'release-0.15.1' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
belkiss committed Mar 3, 2021
2 parents 1775159 + 149ca86 commit 7ac0ba0
Show file tree
Hide file tree
Showing 58 changed files with 2,636 additions and 2,649 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ jobs:
if: runner.os != 'Windows'
shell: bash
run: ./CompileSharpmake.sh Sharpmake.sln "${{ matrix.configuration }}"

- name: GenerateMdbFiles.bat
if: runner.os == 'Windows'
shell: cmd
run: GenerateMdbFiles.bat

- name: UnitTest
if: runner.os == 'Windows'
Expand All @@ -52,3 +57,10 @@ jobs:
- name: FunctionalTest
if: runner.os == 'Windows'
run: python functional_test.py

- name: Upload sharpmake cross-platform release binaries
if: runner.os == 'Windows' && matrix.configuration == 'release'
uses: actions/upload-artifact@v2
with:
name: 'Sharpmake-${{github.sha}}'
path: tmp/bin
7 changes: 0 additions & 7 deletions Sharpmake.Application/CommandLineArguments.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ public enum InputType
public bool SkipInvalidPath = false;
public bool DebugLog = false;
public bool Debug = false;
public bool DebugScripts = false;
public bool Diagnostics = false;
public bool WriteFiles = true;
public bool DumpDependency = false;
Expand Down Expand Up @@ -170,12 +169,6 @@ public void CommandLineDebug()
Debug = true;
}

[CommandLine.Option("debugscripts", @"Compile scripts in debug to ease their debuggging: ex: /debugscripts")]
public void CommandLineDebugScripts()
{
DebugScripts = true;
}

[CommandLine.Option("sharpmakemutexsuffix", @"Allow custom mutex name suffix. Useful to debug concurrently multiple sharpmake running from different branches. Ex: /sharpmakemutexsuffix(""Name"")")]
public void CommandLineSharpmakeMutexSuffix(string name)
{
Expand Down
6 changes: 3 additions & 3 deletions Sharpmake.Application/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -596,9 +596,9 @@ public static Builder CreateBuilder(BuildContext.BaseBuildContext context, Argum
parameters.BlobOnly,
parameters.SkipInvalidPath,
parameters.Diagnostics,
parameters.DebugScripts,
Program.GetGeneratorsManager,
parameters.Defines
debugScripts: true, // warning: some code that rely on callstacks misbehaves in release, because methods can completely disappear due to optimizations, so force disable for now
getGeneratorsManagerCallBack: GetGeneratorsManager,
defines: parameters.Defines
);

// Allow message log from builder.
Expand Down
4 changes: 2 additions & 2 deletions Sharpmake.Application/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017, 2019-2020 Ubisoft Entertainment
// Copyright (c) 2017, 2019-2021 Ubisoft Entertainment
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -43,4 +43,4 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("0.15.0.0")]
[assembly: AssemblyVersion("0.15.1.0")]

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="16.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="..\codebase\ExplicitlyOrderedPostBuildTest\main.cpp" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ Settings
}

//=================================================================================================================
Compiler( 'Compiler-x64-vs2017' )
Compiler( 'Compiler-x64-vs2019' )
{
.ExecutableRootPath = 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64'
.ExecutableRootPath = 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64'
.Executable = '$ExecutableRootPath$\cl.exe'
.ExtraFiles = {
'$ExecutableRootPath$\1033\clui.dll',
Expand All @@ -40,9 +40,12 @@ Compiler( 'Compiler-x64-vs2017' )
'$ExecutableRootPath$\mspft140.dll',
'$ExecutableRootPath$\msvcdis140.dll',
'$ExecutableRootPath$\msvcp140.dll',
'$ExecutableRootPath$\msvcp140_atomic_wait.dll',
'$ExecutableRootPath$\pgodb140.dll',
'$ExecutableRootPath$\tbbmalloc.dll',
'$ExecutableRootPath$\vcruntime140.dll',
'C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build\vcvars64.bat',
'$ExecutableRootPath$\vcruntime140_1.dll',
'C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars64.bat',
'C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x64\api-ms-win-core-console-l1-1-0.dll',
'C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x64\api-ms-win-core-datetime-l1-1-0.dll',
'C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x64\api-ms-win-core-debug-l1-1-0.dll',
Expand Down Expand Up @@ -89,10 +92,10 @@ Compiler( 'Compiler-x64-vs2017' )

.win64Config =
[
.BinPath = 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64'
.LinkerPath = 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64'
.ResourceCompiler = 'C:\Program Files (x86)\Windows Kits\10\bin\x64\rc.exe'
.Compiler = 'Compiler-x64-vs2017'
.BinPath = 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29333\bin\Hostx64\x64'
.LinkerPath = 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29333\bin\Hostx64\x64'
.ResourceCompiler = 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.16299.0\x64\rc.exe'
.Compiler = 'Compiler-x64-vs2019'
.Librarian = '$LinkerPath$\lib.exe'
.Linker = '$LinkerPath$\link.exe'
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@ Exec( 'GenerateHeader' )
//=================================================================================================================
// fastbuildfunctionaltest.bff .bff includes
//=================================================================================================================
#include ".\explicitlyorderedpostbuildtest_vs2017_win64.bff"
#include ".\mixcppandcexe_vs2017_win64.bff"
#include ".\postbuildcopydirtest_vs2017_win64.bff"
#include ".\postbuildcopysinglefiletest_vs2017_win64.bff"
#include ".\postbuildexecutetest_vs2017_win64.bff"
#include ".\postbuildtestexecution_vs2017_win64.bff"
#include ".\requireprebuildstep_vs2017_win64.bff"
#include ".\spanmultiplesrcdirsfbunityexclude_vs2017_win64.bff"
#include ".\spanmultiplesrcdirsfbunityinclude_vs2017_win64.bff"
#include ".\useprecompexe_vs2017_win64.bff"
#include ".\spanmultiplesrcdirsfbnoblobexclude_vs2017_win64.bff"
#include ".\spanmultiplesrcdirsfbnoblobinclude_vs2017_win64.bff"
#include ".\explicitlyorderedpostbuildtest_vs2019_win64.bff"
#include ".\mixcppandcexe_vs2019_win64.bff"
#include ".\postbuildcopydirtest_vs2019_win64.bff"
#include ".\postbuildcopysinglefiletest_vs2019_win64.bff"
#include ".\postbuildexecutetest_vs2019_win64.bff"
#include ".\postbuildtestexecution_vs2019_win64.bff"
#include ".\requireprebuildstep_vs2019_win64.bff"
#include ".\spanmultiplesrcdirsfbunityexclude_vs2019_win64.bff"
#include ".\spanmultiplesrcdirsfbunityinclude_vs2019_win64.bff"
#include ".\useprecompexe_vs2019_win64.bff"
#include ".\spanmultiplesrcdirsfbnoblobexclude_vs2019_win64.bff"
#include ".\spanmultiplesrcdirsfbnoblobinclude_vs2019_win64.bff"
#include ".\fastbuildfunctionaltest_all.bff"


Expand All @@ -50,9 +50,9 @@ Alias( 'All-Configs' )
{
.Targets =
{
'FastBuildFunctionalTest_All_Debug_FastBuild_NoBlob_vs2017_win64',
'FastBuildFunctionalTest_All_Debug_FastBuild_vs2017_win64',
'FastBuildFunctionalTest_All_Release_FastBuild_NoBlob_vs2017_win64',
'FastBuildFunctionalTest_All_Release_FastBuild_vs2017_win64'
'FastBuildFunctionalTest_All_Debug_FastBuild_NoBlob_vs2019_win64',
'FastBuildFunctionalTest_All_Debug_FastBuild_vs2019_win64',
'FastBuildFunctionalTest_All_Release_FastBuild_NoBlob_vs2019_win64',
'FastBuildFunctionalTest_All_Release_FastBuild_vs2019_win64'
}
}
Loading

0 comments on commit 7ac0ba0

Please sign in to comment.