mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
Update AppVeyor for MSVC2013 -> MSVC 2017
This commit is contained in:
parent
d8b7e3d8a9
commit
3b7fdafca8
15
appveyor.yml
15
appveyor.yml
@ -1,10 +1,7 @@
|
|||||||
#Script provided by Thomas Feher
|
#Original script provided by Thomas Feher and subsequently adapted.
|
||||||
#Not yet used (Sept 2016) for continuous integration by Audacity Team
|
|
||||||
#but developers who clone audacity.git can adapt and use.
|
|
||||||
#useful for Linux-only developers.
|
|
||||||
#if you want to work on this, please talk with us on
|
#if you want to work on this, please talk with us on
|
||||||
# https://lists.sourceforge.net/lists/listinfo/audacity-devel
|
# https://lists.sourceforge.net/lists/listinfo/audacity-devel
|
||||||
#build time is circa 50 mins.
|
#build time is circa 7 mins.
|
||||||
version: 2.3.0-alpha-{build}
|
version: 2.3.0-alpha-{build}
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
@ -13,7 +10,7 @@ branches:
|
|||||||
- msc_ver
|
- msc_ver
|
||||||
- post-vs2013
|
- post-vs2013
|
||||||
- master
|
- master
|
||||||
image: Visual Studio 2013
|
image: Visual Studio 2017
|
||||||
shallow_clone: true # reduce traffic
|
shallow_clone: true # reduce traffic
|
||||||
install:
|
install:
|
||||||
- 'echo #define REV_LONG "%APPVEYOR_REPO_COMMIT%" > src\RevisionIdent.h'
|
- 'echo #define REV_LONG "%APPVEYOR_REPO_COMMIT%" > src\RevisionIdent.h'
|
||||||
@ -24,7 +21,7 @@ install:
|
|||||||
# download wxWidgets
|
# download wxWidgets
|
||||||
- git clone --recurse-submodules --branch v3.1.1 --depth 1 https://github.com/audacity/wxWidgets.git %WXWIN%
|
- git clone --recurse-submodules --branch v3.1.1 --depth 1 https://github.com/audacity/wxWidgets.git %WXWIN%
|
||||||
# build wxWidgets
|
# build wxWidgets
|
||||||
- msbuild /m %WXWIN%\build\msw\wx_vc12.sln "/p:Configuration=DLL Release;PlatformToolset=v120;WholeProgramOptimization=true" /target:adv,base,core,html,net,qa,wxexpat,wxjpeg,wxpng,wxtiff,wxzlib,xml /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
- msbuild /m %WXWIN%\build\msw\wx_vc15.sln "/p:Configuration=DLL Release;PlatformToolset=v140;WholeProgramOptimization=true" /target:adv,base,core,html,net,qa,wxexpat,wxjpeg,wxpng,wxtiff,wxzlib,xml /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
||||||
environment:
|
environment:
|
||||||
WXWIN: '%APPVEYOR_BUILD_FOLDER%\..\wxWidgets'
|
WXWIN: '%APPVEYOR_BUILD_FOLDER%\..\wxWidgets'
|
||||||
AUDACITY_ROOT: '%APPVEYOR_BUILD_FOLDER%'
|
AUDACITY_ROOT: '%APPVEYOR_BUILD_FOLDER%'
|
||||||
@ -34,9 +31,9 @@ environment:
|
|||||||
#project: win/audacity.sln
|
#project: win/audacity.sln
|
||||||
#configuration:
|
#configuration:
|
||||||
#- Release
|
#- Release
|
||||||
build_script: # build all targets except of `help`
|
build_script: # build all targets except `help`
|
||||||
- cmd: >-
|
- cmd: >-
|
||||||
msbuild /m win/audacity.sln /p:Configuration=Release;PlatformToolset=v120;WholeProgramOptimization=true /target:expat,filedialog,libflac++,libflac,libid3tag,libmad,libnyquist,libogg,libscorealign,libsndfile,libsoxr,libvamp,libvorbis,lv2,portaudio-v19,portmidi,portmixer,portsmf,sbsms,soundtouch,twolame,Audacity /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" &&
|
msbuild /m win/audacity.sln /p:Configuration=Release;PlatformToolset=v140;WholeProgramOptimization=true /target:expat,filedialog,libflac++,libflac,libid3tag,libmad,libnyquist,libogg,libscorealign,libsndfile,libsoxr,libvamp,libvorbis,lv2,portaudio-v19,portmidi,portmixer,portsmf,sbsms,soundtouch,twolame,Audacity /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" &&
|
||||||
del /S win\Release\*.ipdb &&
|
del /S win\Release\*.ipdb &&
|
||||||
del /S win\Release\*.iobj &&
|
del /S win\Release\*.iobj &&
|
||||||
del /S win\Release\*.lib &&
|
del /S win\Release\*.lib &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user