mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 08:39:46 +02:00
Using v3.1.1 removes our custom fixes - of which the most important tis the rename-retry to deal with virus checkers. We'll bring that back in later with code in Audacity itself. Use --recurse-submodules as wxWidgets now has png and other subprojects as submodules.
50 lines
2.3 KiB
YAML
50 lines
2.3 KiB
YAML
#Script provided by Thomas Feher
|
|
#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
|
|
# https://lists.sourceforge.net/lists/listinfo/audacity-devel
|
|
#build time is circa 50 mins.
|
|
version: 2.3.0-alpha-{build}
|
|
branches:
|
|
only:
|
|
- prefs
|
|
- stdint
|
|
- msc_ver
|
|
- post-vs2013
|
|
- master
|
|
image: Visual Studio 2013
|
|
shallow_clone: true # reduce traffic
|
|
install:
|
|
- 'echo #define REV_LONG "%APPVEYOR_REPO_COMMIT%" > src\RevisionIdent.h'
|
|
- 'echo #define REV_TIME "%APPVEYOR_REPO_COMMIT_TIMESTAMP%" >> src\RevisionIdent.h'
|
|
# install gettext tool (only used by target "locale", which is not built at
|
|
# the moment due to long duration
|
|
- nuget install Gettext.Tools -Version 0.19.8.1 -OutputDirectory %AUDACITY_ROOT%\win\packages
|
|
# download wxWidgets
|
|
- git clone --recurse-submodules --branch v3.1.1 --depth 1 https://github.com/audacity/wxWidgets.git %WXWIN%
|
|
# 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"
|
|
environment:
|
|
WXWIN: '%APPVEYOR_BUILD_FOLDER%\..\wxWidgets'
|
|
AUDACITY_ROOT: '%APPVEYOR_BUILD_FOLDER%'
|
|
# replace `build_script` with `build` and `configuration` when complete build
|
|
# does not exceed a duration of 1 hour
|
|
#build:
|
|
#project: win/audacity.sln
|
|
#configuration:
|
|
#- Release
|
|
build_script: # build all targets except of `help`
|
|
- 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" &&
|
|
del /S win\Release\*.ipdb &&
|
|
del /S win\Release\*.iobj &&
|
|
del /S win\Release\*.lib &&
|
|
del /S win\Release\*.pdb &&
|
|
del /S win\Release\*.exp &&
|
|
copy %WXWIN%\lib\vc_dll\*.dll win\Release\
|
|
artifacts:
|
|
- path: win\Release
|
|
name: 'audacity-%APPVEYOR_BUILD_VERSION%-%APPVEYOR_REPO_COMMIT%'
|
|
|