-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathappveyor.yml
More file actions
52 lines (51 loc) · 1.18 KB
/
appveyor.yml
File metadata and controls
52 lines (51 loc) · 1.18 KB
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
42
43
44
45
46
47
48
49
50
51
52
version: 1.0.{build}
branches:
only:
- master
configuration:
- Debug
- Release
platform:
- x86
- x64
environment:
matrix:
- VS_VERSION: vs2012
- VS_VERSION: vs2013
install:
- cinst wget
- wget -nv -O premake.zip http://kent.dl.sourceforge.net/project/premake/Premake/nightlies/premake-dev-windows.zip
- unzip premake.zip
- move bin\release\premake5.exe .
before_build:
- git submodule init
- git submodule update
- del /F /S build
- premake5.exe --arch=%PLATFORM% %VS_VERSION%
- dir
- dir build
- tree
build:
project: build\enet-cs.sln
verbosity: normal
after_build:
- tree
artifacts:
- path: build\lib
name: enetcs-win-$(configuration)-$(platform)-$(VS_VERSION)
type: zip
- path: build\bin
name: ENetDemo-$(configuration)-$(platform)-$(VS_VERSION)
type: zip
deploy:
# Easy merging with Travis which cannot (yet) set a release name...
release: $(appveyor_repo_tag_name)
provider: GitHub
auth_token:
secure: G3HvPst0LoqEgOTkUPXXigIfBuKgvXyN4LaPNBxLTeYtahjcFfa5JUXE8EB+4onF
artifact: enetcs-win-$(configuration)-$(platform)-$(VS_VERSION)
draft: true
on:
branch: master
appveyor_repo_tag: true
configuration: Release