Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appveyor: workaround for storage limit #4847

Merged
merged 3 commits into from
Apr 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 53 additions & 35 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ environment:
CMAKE_CONFIGURATION: Release
ASIO_URL: "http://www.steinberg.net/sdk_downloads/asiosdk2.3.zip"
ASIO_ZIP: asiosdk2.3.zip
# XXX vvv TEMPORARY WORKAROUND DUE TO APPVEYOR ARTIFACT STORAGE LIMIT
AWS_ACCESS_KEY_ID:
secure: cUwCIb/EtpG3uAP48WylcMNxAh3yEbPNcQGPZDnh6go=
AWS_SECRET_ACCESS_KEY:
secure: 9n0lOPh/3hpwSEf1l0QySYngrgWYqplZozQ9ZJMxtDARIV5DIBn/NXttTfkh1Z3k
# XXX ^^^ TEMPORARY WORKAROUND DUE TO APPVEYOR ARTIFACT STORAGE LIMIT

matrix:
- QT_DIR: "C:/Qt/5.9/msvc2015"
Expand Down Expand Up @@ -119,38 +125,50 @@ after_build:
}
- ps: cd ..

after_deploy:
- ps: echo "S3 Build Location = $env:S3_URL"

artifacts:
- path: artifacts
name: art_folder
- path: build\Install\*.exe
name: installer
type: File

deploy:
# s3 upload - every commit
- provider: S3
access_key_id:
secure: cUwCIb/EtpG3uAP48WylcMNxAh3yEbPNcQGPZDnh6go=
secret_access_key:
secure: 9n0lOPh/3hpwSEf1l0QySYngrgWYqplZozQ9ZJMxtDARIV5DIBn/NXttTfkh1Z3k
bucket: supercollider
region: us-west-2
folder: $(S3_BUILDS_LOCATION)
artifact: art_folder
unzip: true
set_public: true
on:
appveyor_repo_name: supercollider/supercollider

# github releases - only tags
- provider: GitHub
description: appveyor_$(APPVEYOR_REPO_TAG_NAME)
artifact: installer
auth_token:
secure: 6m5+IiGj/pLhiUJvZPqs7yOlSe0ttH3pklaM7w1i8ca4YRUrIKddsGTZAZo86qLx
prerelease: true
on:
appveyor_repo_tag: true
# XXX vvv TEMPORARY WORKAROUND DUE TO APPVEYOR ARTIFACT STORAGE LIMIT
- ps: >-
If ($env:APPVEYOR_REPO_NAME -eq "supercollider/supercollider") {
echo "Pushing artifact to S3"
aws s3 cp --region us-west-2 --recursive --include "*" $env:APPVEYOR_BUILD_FOLDER/artifacts/ s3://supercollider/$env:S3_BUILDS_LOCATION
echo "S3 Build Location = $env:S3_URL"
}
# XXX ^^^ TEMPORARY WORKAROUND DUE TO APPVEYOR ARTIFACT STORAGE LIMIT


# XXX vvv TEMPORARILY DISABLED DUE TO APPVEYOR ARTIFACT STORAGE LIMIT
#after_deploy:
#- ps: echo "S3 Build Location = $env:S3_URL"
#
#artifacts:
# - path: artifacts
# name: art_folder
# - path: build\Install\*.exe
# name: installer
# type: File
#
#deploy:
## s3 upload - every commit
#- provider: S3
# access_key_id:
# secure: cUwCIb/EtpG3uAP48WylcMNxAh3yEbPNcQGPZDnh6go=
# secret_access_key:
# secure: 9n0lOPh/3hpwSEf1l0QySYngrgWYqplZozQ9ZJMxtDARIV5DIBn/NXttTfkh1Z3k
# bucket: supercollider
# region: us-west-2
# folder: $(S3_BUILDS_LOCATION)
# artifact: art_folder
# unzip: true
# set_public: true
# on:
# appveyor_repo_name: supercollider/supercollider
#
## github releases - only tags
#- provider: GitHub
# description: appveyor_$(APPVEYOR_REPO_TAG_NAME)
# artifact: installer
# auth_token:
# secure: 6m5+IiGj/pLhiUJvZPqs7yOlSe0ttH3pklaM7w1i8ca4YRUrIKddsGTZAZo86qLx
# prerelease: true
# on:
# appveyor_repo_tag: true
# XXX ^^^ TEMPORARY WORKAROUND DUE TO APPVEYOR ARTIFACT STORAGE LIMIT