2017-12-21 18:39:12 +01:00
|
|
|
# clone directory
|
|
|
|
clone_folder: C:\MuseScore
|
|
|
|
|
|
|
|
# set clone depth
|
|
|
|
clone_depth: 3 # clone entire repository history if not defined
|
|
|
|
|
|
|
|
# build cache to preserve files/folders between builds
|
|
|
|
cache:
|
|
|
|
- dependencies.7z
|
|
|
|
- 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
|
|
|
|
|
|
|
|
#environment:
|
|
|
|
|
|
|
|
# build Configuration, i.e. Debug, Release, etc.
|
|
|
|
configuration: Release
|
|
|
|
|
2018-01-05 10:44:00 +01:00
|
|
|
# Stop Appveyor from "Discovering Tests"
|
|
|
|
test: off
|
|
|
|
|
2017-12-21 18:39:12 +01:00
|
|
|
install:
|
2018-01-02 09:56:13 +01:00
|
|
|
- IF DEFINED ENCRYPT_SECRET_SSH (
|
2017-12-28 22:20:48 +01:00
|
|
|
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%
|
|
|
|
)
|
2018-03-13 17:04:37 +01:00
|
|
|
- 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%
|
|
|
|
)
|
2017-12-21 18:39:12 +01:00
|
|
|
|
|
|
|
# scripts to run before build
|
|
|
|
before_build:
|
2018-03-13 17:04:37 +01:00
|
|
|
- cmd: C:\MuseScore\build\appveyor\before_build.bat
|
2017-12-21 18:39:12 +01:00
|
|
|
|
2018-03-13 17:04:37 +01:00
|
|
|
build_script:
|
|
|
|
- cmd: C:\MuseScore\build\appveyor\build_script.bat
|
2017-12-21 18:39:12 +01:00
|
|
|
|
|
|
|
after_build:
|
2018-03-13 17:04:37 +01:00
|
|
|
- cmd: C:\MuseScore\build\appveyor\after_build.bat
|
2017-12-28 22:20:48 +01:00
|
|
|
|
2017-12-21 18:39:12 +01:00
|
|
|
artifacts:
|
|
|
|
- path: $(ARTIFACT_NAME)
|
2018-07-21 16:20:04 +02:00
|
|
|
name: musescore-binary
|
|
|
|
- path: update_win_nightly.xml
|
|
|
|
name: update_win_nightly.xml
|
2017-12-21 18:39:12 +01:00
|
|
|
|
2018-07-17 16:08:03 +02:00
|
|
|
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
|
2018-07-19 23:05:47 +02:00
|
|
|
artifact: update_win_nightly.xml
|
2018-07-17 16:08:03 +02:00
|
|
|
|