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.

42 lines
1.3 KiB

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