Просмотр исходного кода

testing building with appveyor

sabrogden 5 лет назад
Родитель
Сommit
9a67a1b596
1 измененных файлов с 32 добавлено и 0 удалено
  1. 32 0
      appveyor.yml

+ 32 - 0
appveyor.yml

@@ -0,0 +1,32 @@
+image: Visual Studio 2019
+
+version: 3.24.{build}.0
+
+clone_folder: c:\projects\ditto
+
+branches:
+  # whitelist
+  only:
+    - master
+    
+install:
+- set INNOSETUPPATH=C:\Program Files (x86)\Inno Setup 6
+- set Path=%INNOSETUPPATH%;%PATH%
+
+assembly_info:
+  patch: true
+  file: '**\AssemblyInfo.*'
+  assembly_version: '{version}'
+  assembly_file_version: '{version}'
+  assembly_informational_version: '{version}'
+
+build_script:
+- echo Building version:%appveyor_build_version%
+- cmd: nuget restore
+- echo Building 32Bit
+- cmd: msbuild CP_Main_10.sln /p:Configuration=Release /p:Platform=Win32
+- echo Building 64Bit
+- cmd: msbuild CP_Main_10.sln /p:Configuration=Release /p:Platform=x64
+
+after_build:
+- cmd ISCC.exe" /F"DittoSetup_%versionFileName%" "%workDir%\DittoSetup\DittoSetup_10.iss"