Revert "sayonara appveyor"

This reverts commit 3b9cfc7c50.
This commit is contained in:
CasualPokePlayer 2022-01-29 21:56:08 -08:00
parent 3b9cfc7c50
commit 2d9651fa89
3 changed files with 40 additions and 1 deletions

View File

@ -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>

36
appveyor.yml Normal file
View File

@ -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%

View File

@ -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>