Appveyor: use deploy_script
This commit is contained in:
parent
5c50dc58da
commit
ee9abfcc71
|
@ -95,13 +95,15 @@ build_script:
|
||||||
- nmake /f Makefile.mak %NMAKE_EXTRA%
|
- nmake /f Makefile.mak %NMAKE_EXTRA%
|
||||||
- cd win32 && nmake /f Makefile.mak %NMAKE_EXTRA% VSVER=%VSVER% OpenSC.msi && cd ..
|
- cd win32 && nmake /f Makefile.mak %NMAKE_EXTRA% VSVER=%VSVER% OpenSC.msi && cd ..
|
||||||
- move win32\OpenSC.msi %ARTIFACT%.msi
|
- move win32\OpenSC.msi %ARTIFACT%.msi
|
||||||
- appveyor PushArtifact %ARTIFACT%.msi
|
|
||||||
# put all pdb files for dump analysis, but this consumes approx 100 MB per build
|
# put all pdb files for dump analysis, but this consumes approx 100 MB per build
|
||||||
- md %ARTIFACT%-Debug
|
- md %ARTIFACT%-Debug
|
||||||
- ps: >-
|
- ps: >-
|
||||||
Get-ChildItem -recurse C:\projects\OpenSC -exclude vc*.pdb *.pdb | % {
|
Get-ChildItem -recurse C:\projects\OpenSC -exclude vc*.pdb *.pdb | % {
|
||||||
7z a -tzip ${env:ARTIFACT}-Debug.zip $_.FullName
|
7z a -tzip ${env:ARTIFACT}-Debug.zip $_.FullName
|
||||||
}
|
}
|
||||||
|
|
||||||
|
deploy_script:
|
||||||
|
- appveyor PushArtifact %ARTIFACT%.msi
|
||||||
- appveyor PushArtifact %ARTIFACT%-Debug.zip
|
- appveyor PushArtifact %ARTIFACT%-Debug.zip
|
||||||
|
|
||||||
# keep in sync with .travis.yml
|
# keep in sync with .travis.yml
|
||||||
|
|
Loading…
Reference in New Issue