parent
3b9cfc7c50
commit
2d9651fa89
|
@ -1,7 +1,7 @@
|
||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<AnalysisLevel>5</AnalysisLevel>
|
<AnalysisLevel>5</AnalysisLevel>
|
||||||
<ContinuousIntegrationBuild Condition=" '$(GITLAB_CI)' != '' ">true</ContinuousIntegrationBuild>
|
<ContinuousIntegrationBuild Condition=" '$(GITLAB_CI)' != '' Or '$(APPVEYOR)' != '' ">true</ContinuousIntegrationBuild>
|
||||||
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<IsTargetingNetFramework>$(TargetFramework.StartsWith("net4"))</IsTargetingNetFramework>
|
<IsTargetingNetFramework>$(TargetFramework.StartsWith("net4"))</IsTargetingNetFramework>
|
||||||
|
|
|
@ -0,0 +1,36 @@
|
||||||
|
version: 0.0.0.{build}
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
image: Visual Studio 2022
|
||||||
|
assembly_info:
|
||||||
|
patch: true
|
||||||
|
file: '**\AssemblyInfo.*'
|
||||||
|
assembly_version: '{version}'
|
||||||
|
assembly_file_version: '{version}'
|
||||||
|
assembly_informational_version: '{version}'
|
||||||
|
build_script:
|
||||||
|
- cmd: >-
|
||||||
|
SET TS=%APPVEYOR_REPO_COMMIT_TIMESTAMP%
|
||||||
|
|
||||||
|
SET BUILDCODE=%TS:~0,10%-%TS:~11,2%%TS:~14,2%%TS:~17,2%-#%APPVEYOR_REPO_COMMIT%
|
||||||
|
|
||||||
|
SET BUILDFILE=BizHawk_Developer-%BUILDCODE%.zip
|
||||||
|
|
||||||
|
echo %BUILDFILE%
|
||||||
|
|
||||||
|
|
||||||
|
cd dist
|
||||||
|
|
||||||
|
call QuickTestBuildAndPackage_Developer.bat
|
||||||
|
|
||||||
|
|
||||||
|
move BizHawk-Developer.zip ..\%BUILDFILE%
|
||||||
|
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
appveyor PushArtifact %BUILDFILE%
|
||||||
|
|
||||||
|
|
||||||
|
rem appveyor UpdateBuild -Version %BUILDFILE%
|
|
@ -2,6 +2,9 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(APPVEYOR)' != '' ">
|
||||||
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
<Import Project="../MainSlnCommon.props" />
|
<Import Project="../MainSlnCommon.props" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<DefineConstants Condition=" '$(ContinuousIntegrationBuild)' == 'true' ">$(DefineConstants);SKIP_PLATFORM_TESTS</DefineConstants>
|
<DefineConstants Condition=" '$(ContinuousIntegrationBuild)' == 'true' ">$(DefineConstants);SKIP_PLATFORM_TESTS</DefineConstants>
|
||||||
|
|
Loading…
Reference in New Issue