MuseScore/.appveyor.yml
Peter Jonas 60a306f9ac 32 and 64 bit builds on AppVeyor with Qt 5.12.1
- fix #281539 - 32-bit build for Windows
- fix #281675 - add architecture to MSI name
- Option to download Qt rather than using AppVeyor's Qt (disabled)
2019-02-15 12:53:54 +00:00

89 lines
2.4 KiB
YAML

# clone directory
clone_folder: C:\MuseScore
# set clone depth
clone_depth: 3 # clone entire repository history if not defined
image: Visual Studio 2017
branches:
only:
- master
# build cache to preserve files/folders between builds
cache:
- dependencies.7z
# - qt-5.12.1-msvc.7z # if not using AppVeyor's built-in Qt in before_build.bat
- C:\Qt\Tools\mingw530_32\lib
- C:\Qt\Tools\mingw530_32\i686-w64-mingw32
- C:\Program Files (x86)\Jack
- C:\MuseScore\build.release\thirdparty
- C:\ccache
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform:
- x86
- x64
#environment:
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
# Stop Appveyor from "Discovering Tests"
test: off
matrix:
fast_finish: true # stop all jobs if any job fails
#allow_failures: # list jobs allowed to fail without stopping the rest
install:
- IF DEFINED ENCRYPT_SECRET_SSH (
nuget install secure-file -ExcludeVersion &&
secure-file\tools\secure-file -decrypt C:\MuseScore\build\appveyor\resources\osuosl_nighlies_rsa_nopp.enc -secret %ENCRYPT_SECRET_SSH%
)
- IF DEFINED ENCRYPT_SECRET_CERTIFICATE (
nuget install secure-file -ExcludeVersion &&
secure-file\tools\secure-file -decrypt C:\MuseScore\build\appveyor\resources\musescore.p12.enc -secret %ENCRYPT_SECRET_CERTIFICATE%
)
# scripts to run before build
before_build:
- cmd: C:\MuseScore\build\appveyor\before_build.bat
build_script:
- cmd: C:\MuseScore\build\appveyor\build_script.bat
after_build:
- cmd: C:\MuseScore\build\appveyor\after_build.bat
artifacts:
- path: $(ARTIFACT_NAME)
name: musescore-binary
- path: update_win_nightly.xml
name: update_win_nightly.xml
- path: appcast.xml
name: appcast.xml
deploy:
- provider: S3
access_key_id:
secure: k68f3wMKIC5AzrfNMuC4kdPaxzvKdFVkRsietUKqc+E=
secret_access_key:
secure: IbpdpiHzGfMasaSA6uGrskE4xu9wE+HzElW7tIDOUww+ivHj+gN+mPgUHKCcV9Cn
bucket: update.musescore.org
region: us-east-1
set_public: true
artifact: update_win_nightly.xml
# uncomment in stable release
# - provider: S3
# access_key_id:
# secure: k68f3wMKIC5AzrfNMuC4kdPaxzvKdFVkRsietUKqc+E=
# secret_access_key:
# secure: IbpdpiHzGfMasaSA6uGrskE4xu9wE+HzElW7tIDOUww+ivHj+gN+mPgUHKCcV9Cn
# bucket: sparkle.musescore.org
# folder: testing/3/win/
# region: us-east-1
# set_public: true
# artifact: appcast.xml