yuzu-mainline/appveyor.yml

71 lines
1.7 KiB
YAML
Raw Normal View History

2015-01-11 18:29:39 +00:00
# shallow clone
clone_depth: 10
2015-01-11 17:33:44 +00:00
# don't build on tag
skip_tags: true
2016-08-29 13:19:50 +00:00
cache:
- C:\ProgramData\chocolatey\bin -> appveyor.yml
- C:\ProgramData\chocolatey\lib -> appveyor.yml
os: Visual Studio 2015
platform:
2015-02-08 14:23:33 +00:00
- x64
configuration:
- Release
2015-01-11 17:33:44 +00:00
install:
- git submodule update --init --recursive
2015-01-11 17:33:44 +00:00
before_build:
- mkdir build
- cd build
- cmake -G "Visual Studio 14 2015 Win64" -DCITRA_USE_BUNDLED_QT=1 -DCITRA_USE_BUNDLED_SDL2=1 ..
2015-01-11 17:33:44 +00:00
- cd ..
2016-03-20 14:58:24 +00:00
build:
project: build/citra.sln
parallel: true
after_build:
- ps: |
$GITDATE = $(git show -s --date=short --format='%ad') -replace "-",""
$GITREV = $(git show -s --format='%h')
# Where are these spaces coming from? Regardless, let's remove them
$MSVC_BUILD_NAME = "citra-windows-msvc-$GITDATE-$GITREV.zip" -replace " ", ""
$MSVC_BUILD_PDB = "citra-windows-msvc-$GITDATE-$GITREV-debugsymbols.zip" -replace " ", ""
# set the build names as env vars so the artifacts can upload them
$env:MSVC_BUILD_NAME = $MSVC_BUILD_NAME
$env:MSVC_BUILD_PDB = $MSVC_BUILD_PDB
7z a -tzip $MSVC_BUILD_PDB .\build\bin\release\*.pdb
rm .\build\bin\release\*.pdb
7z a -tzip $MSVC_BUILD_NAME .\build\bin\release\* .\license.txt .\README.md
test_script:
- cd build && ctest -VV -C Release && cd ..
artifacts:
- path: $(MSVC_BUILD_NAME)
name: msvcbuild
type: zip
- path: $(MSVC_BUILD_PDB)
name: msvcdebug
type: zip
deploy:
- provider: BinTray
username: citra-emu
api_key:
secure: qaZZfXp5Vv9xw5EmCxKLhGnNYhiNMDCdP84l0+h6HetfmvFlvHxyohWEVokLjl7d
subject: citra-emu
repo: citra
package: nightly
version: nightly
publish: true
on:
branch: master