forked from milkytracker/MilkyTracker
-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
41 lines (34 loc) · 1.08 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
configuration:
- Release
platform:
- Win32
- x64
install:
- git submodule update --init --recursive
- ps: |
$env:GIT_TAG = (git describe HEAD | sed -E "s/-.+$//")
Update-AppveyorBuild -Version "$env:GIT_TAG-$env:APPVEYOR_BUILD_NUMBER"
before_build:
- md c:\projects\milkytracker\build
- cd c:\projects\milkytracker\build
- if %platform% == Win32 cmake -G "Visual Studio 14" -T v140_xp ..
- if %platform% == x64 cmake -G "Visual Studio 14 Win64" -T v140_xp ..
build:
project: c:\projects\milkytracker\build\MilkyTracker.sln
after_build:
# https://github.com/chocolatey/chocolatey/issues/431
- cmake -E remove -f c:\programdata\chocolatey\bin\cpack.exe
- cpack -C %configuration%
artifacts:
- path: build\milkytracker*.zip
deploy:
description: Release $(appveyor_repo_tag_name)
provider: GitHub
auth_token:
secure: k4eMw7MSycoyZwL8VfdAS8ejNXnwhFQ0KOVpif3IqyQDUrOGeGRyCHXm7FsD4kjb
artifact: /milkytracker.*\.zip/
prerelease: false
overwrite: true
on:
configuration: Release
appveyor_repo_tag: true # deploy on tag push only