diff options
author | bunnei <bunneidev@gmail.com> | 2015-03-18 02:45:43 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-03-18 02:45:43 +0100 |
commit | 99fc82b5c0eaaadb3cc6c495fc04f9641358b11c (patch) | |
tree | 993071eefc46030a793be382a19fe82fd0aa0e40 /appveyor.yml | |
parent | Merge pull request #650 from Subv/scaling (diff) | |
parent | CI: upload builds to builds.citra-emu.org instead of MEGA (diff) | |
download | yuzu-99fc82b5c0eaaadb3cc6c495fc04f9641358b11c.tar yuzu-99fc82b5c0eaaadb3cc6c495fc04f9641358b11c.tar.gz yuzu-99fc82b5c0eaaadb3cc6c495fc04f9641358b11c.tar.bz2 yuzu-99fc82b5c0eaaadb3cc6c495fc04f9641358b11c.tar.lz yuzu-99fc82b5c0eaaadb3cc6c495fc04f9641358b11c.tar.xz yuzu-99fc82b5c0eaaadb3cc6c495fc04f9641358b11c.tar.zst yuzu-99fc82b5c0eaaadb3cc6c495fc04f9641358b11c.zip |
Diffstat (limited to '')
-rw-r--r-- | appveyor.yml | 39 |
1 files changed, 24 insertions, 15 deletions
diff --git a/appveyor.yml b/appveyor.yml index c9edb9e19..ae22101eb 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,10 +6,8 @@ clone_depth: 5 environment: QTDIR: C:\Qt\5.4\msvc2013_64_opengl - MEGA_EMAIL: - secure: rEo9CGAYX87GKTqZCZ9vLCNCNqxO5JLgbERaHF3YJWg= - MEGA_PASSWORD: - secure: zE1zmgjS/6GfN/19ROl/O0fVR58svORQ5gdtsxI7J8k= + BUILD_PASSWORD: + secure: EXGNlWKJsCtbeImEJ5EP9qrxZ+EqUFfNy+CP61nDOMA= platform: - x64 @@ -27,11 +25,6 @@ before_build: - cd .. after_build: - # upload the build to Mega - - cinst wget -x86 - - wget -q http://megatools.megous.com/builds/megatools-1.9.94-win64.zip - # extract megatools silently. See http://stackoverflow.com/a/11629736/1748450 - - 7z x megatools-1.9.94-win64.zip | FIND /V "ing " # copy the qt dlls - copy C:\Qt\5.4\msvc2013_64_opengl\bin\icudt53.dll build\bin\release - copy C:\Qt\5.4\msvc2013_64_opengl\bin\icuin53.dll build\bin\release @@ -42,9 +35,25 @@ after_build: - copy C:\Qt\5.4\msvc2013_64_opengl\bin\Qt5Widgets.dll build\bin\release - mkdir build\bin\release\platforms\ - copy C:\Qt\5.4\msvc2013_64_opengl\plugins\platforms\qwindows.dll build\bin\release\platforms - # zip up the build folder -> build.7z - - 7z a build .\build\bin\release\* - # rename, upload to Mega - - npm install sanitize-filename - - cd megatools-1.9.94-win64 - - node ..\upload_to_mega.js + + - ps: > + if (!"$env:APPVEYOR_PULL_REQUEST_TITLE" -and ("$env:APPVEYOR_REPO_BRANCH" -eq "master")) + { + $GITDATE = $(git show -s --date=short --format='%ad') -replace "-","" + $GITREV = git show -s --format='%h' + $BUILD_NAME = "citra-${GITDATE}-${GITREV}-windows-amd64.7z" + # zip up the build folder + 7z a $BUILD_NAME .\build\bin\release\* + + # download winscp + Invoke-WebRequest "http://hivelocity.dl.sourceforge.net/project/winscp/WinSCP/5.7/winscp570.zip" -OutFile "winscp570.zip" + 7z e -y winscp570.zip + + # upload to server + .\WinSCP.com /command ` + "option batch abort" ` + "option confirm off" ` + "open sftp://citra-builds:${env:BUILD_PASSWORD}@builds.citra-emu.org -hostkey=*" ` + "put $BUILD_NAME /citra/nightly/windows-amd64/" ` + "exit" + } |