@@ -10,24 +10,40 @@ platform:
1010 - x86
1111environment :
1212 matrix :
13- - MSVC_VERSION : 10
14- - MSVC_VERSION : 12
13+ - MSVC_VERSION : 12
14+ # - MSVC_VERSION: 10
15+ # - MSVC_VERSION: 14
1516clone_depth : 1
1617branches :
1718 only :
1819 - master
19- - /smoke/
20+ - /^ smoke/
2021 - /^maint-/
22+ - /^cperl-/
2123init :
2224 - git config --global core.autocrlf input
25+ # Disable popups as they hang the build as there is nobody to click on the OK button...
26+ # Hanging the build is a lot less user friendly than reporting a build failure.
27+ #
28+ # Disable of system hard error popup
29+ # See: https://msdn.microsoft.com/en-us/library/bb513638%28VS.85%29.aspx
30+ - reg add "HKLM\SYSTEM\CurrentControlSet\Control\Windows" /f /v ErrorMode /d 2
31+ # Disable the following popup on program failure:
32+ # | ** <program name> has stopped working ** |
33+ # | Windows can check online for a solution to the problem|
34+ # | - Check online for a solution and close the program |
35+ # | - Close the program |
36+ # See: https://msdn.microsoft.com/en-us/library/bb513638%28VS.85%29.aspx
37+ - reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting" /f /v DontShowUI /d 1
38+ # - cmd: if "%MSVC_VERSION%" == "12" cinst 7zip.commandline -y
2339 - ps : iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
2440
2541# from https://github.com/apache/lucy-clownfish/blob/master/appveyor.yml
2642build : off
2743
2844test_script :
2945 - ' t\appveyor-smoke.bat'
30-
46+
3147# nope: https://ci.appveyor.com/project/rurban/cperl/build/job/ui7b0dk0gprw1eo2
3248# - cinst ruby.devkit
3349# - cinst make
@@ -41,30 +57,56 @@ test_script:
4157# test_script:
4258# - mingw32-make test
4359
44- deploy_script :
45- - cmd : >-
46- if "%MSVC_VERSION%" == "10" exit /b
47- nmake install CCTYPE=MSVC120 USE_NO_REGISTRY=define
48- C:\cperl\bin\cperlivp
49- 7z a -y -sfx cperl-%APPVEYOR_REPO_TAG_NAME%-win%PLATFORM%.exe c:\cperl\
50- del /s /f /q C:\cperl
60+ # deploy_script:
61+ # - IF "%MSVC_VERSION%"=="10" exit /b
62+ # - IF "%DEPLOY%"=="" exit /b
63+ # - IF "%APPVEYOR_REPO_TAG%"=="true" (
64+ # 7z a -y -sfx %APPVEYOR_REPO_TAG_NAME%-win%PLATFORM%.exe c:\cperl\
65+ # )
66+ # - IF "%APPVEYOR_REPO_TAG%"=="false" (
67+ # 7z a -y -sfx cperl-%appveyor_build_version%-win%PLATFORM%.exe c:\cperl\
68+ # )
69+ # - del /s /f /q C:\cperl
5170
71+ # appveyor cannot glob * in names
5272artifacts :
53- - path : cperl-$(APPVEYOR_REPO_TAG_NAME)-win$(PLATFORM).exe
54- name : cperl-$(APPVEYOR_REPO_TAG_NAME)-win$(PLATFORM).exe
73+ - path : cperl-$(appveyor_build_version)-win32.exe
74+ name : nightly-32
75+ type : exe
76+ - path : cperl-$(appveyor_build_version)-win64.exe
77+ name : nightly-64
78+ type : exe
79+ - path : $(APPVEYOR_REPO_TAG_NAME)-win32.exe
80+ name : tagged-32
81+ type : exe
82+ - path : $(APPVEYOR_REPO_TAG_NAME)-win64.exe
83+ name : tagged-64
5584 type : exe
5685
5786deploy :
58- release : $(APPVEYOR_REPO_TAG_NAME)
59- description : ' cperl windows sfx'
60- provider : GitHub
87+ - provider : GitHub
88+ tag : cperl-win-$(appveyor_build_version)
89+ description : ' cperl windows sfx nightly'
90+ auth_token :
91+ secure : AsIAOIgCJX0QhrUKal2V00aaB5nRWtmtFTFeDVsGnbJLeEQpv9avUp0HT1cA8bNs
92+ artifact : nightly-32,nightly-64
93+ draft : true
94+ prerelease : true
95+ force_update : true
96+ on :
97+ branch : /(master|relprep|cperl-tag-deploy-test)/
98+ MSVC_VERSION : 12
99+ - provider : GitHub
100+ tag : $(APPVEYOR_REPO_TAG_NAME)-win
101+ description : ' cperl windows sfx tagged'
61102 auth_token :
62- secure : " zWVKDFnHOuiPTPwo4/BAzTmn/4TPb4MqkmBYaOpom7L46StKDYA8j81hcdsjnAqZUDKEOTY54ASXV/LqaaVn19bggqT8pZg04/uAv1Ci9bOYKKBsD1W/4kws+1o4IdIVO4m6uSlapSFZPExMl/+BNwoiPuJc6Xbfyuh86p5MQ7nqjYxycLXybDrvLtwSGm8XghxGK3/93q8/LF+BVe+ZsaCrozj8Nd0nnzzzuwxGi+VJPhbDp5BH8p06n7eCv5AMR9p1urNQ3XyrdO9GGDuRNzJf6TZHvYJXl0aM8HRklgdMZl2/FQgcRznk9PZFw5n/NttqZvLKh8mTDqfcXAv3JRHZuzSnyY2netUD1/VmUd6TCCM+8zVp3/592tkr2A6tQfmZvFMLeLH5waVC/vRw3UpljEZ0I/3Jac3gE2T36UJmF+k5DWWWBfjGnvJ2S1MTre/nlBgB+gPXZ/XZOt+dBrjFts8Q3gUTgE2IPJUrkOaGKmj8mXcPL/mES6MPIdfJGKDTVd+XwzDD2TNa6D//Y6LcfBCuIF/gQm6ipSDpQLrm52MqXAWLjGpnjj+JKoSrOcoV4GgzzrA90AJr1SBEOttHNPcuZgRJ3krMYsjsYpNR164XBCcRDXYwQl80JpHdC2bAn7Bnv59etJdF+LETxedvGsPfbRU2u9DhoCqegEU= "
63- artifact : cperl-$(APPVEYOR_REPO_TAG_NAME)-win$(PLATFORM).exe
64- draft : false
65- prerelease : false
103+ secure : AsIAOIgCJX0QhrUKal2V00aaB5nRWtmtFTFeDVsGnbJLeEQpv9avUp0HT1cA8bNs
104+ artifact : tagged-32,tagged-64
105+ draft : true
106+ force_update : true
66107 on :
67108 appveyor_repo_tag : true
109+ MSVC_VERSION : 12
68110
69111notifications :
70112- provider : Email
0 commit comments