appveyor.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. version: 1.3.0-{branch}-{build}
  2. image: WMF 5
  3. init:
  4. - ps:
  5. environment:
  6. LDLOADLIBS: -lstdc++
  7. SLIC3R_STATIC: 1
  8. SLIC3R_VERSION: 1.3.0
  9. BOOST_DIR: C:\dev\boost_1_63_0
  10. WXDIR: C:\dev\wxwidgets
  11. WXSHARED: SHARED=0
  12. FORCE_WX_BUILD: 0
  13. FORCE_BOOST_REINSTALL: 0
  14. ENC_SECRET:
  15. secure: QfeTOSKXz1uFCEACqFKLNw==
  16. UPLOAD_USER:
  17. secure: fYPwnI3p6HNR+eMRJR3JfmyNolFn+Uc0MUn2bBXp9uU=
  18. matrix:
  19. - ARCH: 64bit
  20. - ARCH: 32bit
  21. install:
  22. - IF DEFINED ENC_SECRET nuget install secure-file -ExcludeVersion
  23. - IF DEFINED ENC_SECRET secure-file\tools\secure-file -decrypt package/deploy/slic3r-upload.ppk.enc -secret %ENC_SECRET%
  24. - ps: "& package/win/appveyor_preinstall.ps1"
  25. cache:
  26. - C:\Users\appveyor\local-lib-64bit.7z
  27. - C:\Users\appveyor\local-lib-32bit.7z
  28. - C:\Users\appveyor\freeglut.64bit.7z
  29. - C:\Users\appveyor\freeglut.32bit.7z
  30. - C:\users\appveyor\strawberry.64bit.msi
  31. - C:\users\appveyor\strawberry.32bit.msi
  32. - C:\Users\appveyor\winscp.zip
  33. - C:\Users\appveyor\extra_perl.7z
  34. - C:\Users\appveyor\wxwidgets-64bit.7z
  35. - C:\Users\appveyor\wxwidgets-32bit.7z
  36. - C:\Users\appveyor\boost.1.63.0.32bit.7z
  37. - C:\Users\appveyor\boost.1.63.0.64bit.7z
  38. build_script:
  39. - ps: "& package/win/appveyor_buildscript.ps1"
  40. artifacts:
  41. - path: .\slic3r*zip
  42. name: slic3r-dev
  43. deploy_script:
  44. - ps: "cd C:/projects/slic3r; & package/win/appveyor_deploy.ps1"
  45. on_success:
  46. - ps:
  47. on_failure:
  48. - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
  49. on_finish:
  50. - ps: