appveyor.yml 1.6 KB

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