You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.5 KiB

8 years ago
  1. platform: Any CPU
  2. configuration:
  3. - Debug
  4. - Release
  5. image: Visual Studio 2019
  6. install:
  7. - cmd: choco install dotnetcore-sdk --pre
  8. - git submodule update --init --recursive
  9. - ps: .\BuildTools\appveyor-install.ps1
  10. nuget:
  11. account_feed: false
  12. project_feed: true
  13. disable_publish_on_pr: true
  14. before_build:
  15. - nuget restore ILSpy.sln
  16. build_script:
  17. - msbuild ILSpy.sln /v:minimal /p:ResolveNuGetPackages=false "/logger:%ProgramFiles%\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
  18. after_build:
  19. - 7z a ILSpy_binaries.zip %APPVEYOR_BUILD_FOLDER%\ILSpy\bin\%configuration%\net462\*.dll %APPVEYOR_BUILD_FOLDER%\ILSpy\bin\%configuration%\net462\*.exe %APPVEYOR_BUILD_FOLDER%\ILSpy\bin\%configuration%\net462\*.config %APPVEYOR_BUILD_FOLDER%\ILSpy\bin\%configuration%\net462\*\ILSpy.resources.dll
  20. test:
  21. assemblies:
  22. - 'ICSharpCode.Decompiler.Tests\bin\%configuration%\net462\ICSharpCode.Decompiler.Tests.exe'
  23. - 'ILSpy.Tests\bin\%configuration%\net462\ILSpy.Tests.exe'
  24. - 'ILSpy.BamlDecompiler.Tests\bin\%configuration%\net462\ILSpy.BamlDecompiler.Tests.dll'
  25. after_test:
  26. - python BuildTools\tidy.py
  27. for:
  28. - branches:
  29. except:
  30. - master
  31. artifacts:
  32. #nothing
  33. - branches:
  34. only:
  35. - master
  36. - 3.2.x
  37. artifacts:
  38. - path: ILSpy_binaries.zip
  39. name: ILSpy %APPVEYOR_REPO_BRANCH% %ILSPY_VERSION_NUMBER% binaries
  40. - path: '**\*.vsix'
  41. name: ILSpy AddIn for Visual Studio
  42. - path: '**\*.nupkg'
  43. name: ICSharpCode.Decompiler %APPVEYOR_REPO_BRANCH% %ILSPY_VERSION_NUMBER% NuGet