-
Notifications
You must be signed in to change notification settings - Fork 116
/
Copy pathappveyor.yml
69 lines (55 loc) · 1.34 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
version: 1.0.{build}
image:
- Visual Studio 2015
- ubuntu1804
- macos
for:
-
matrix:
only:
- image: Visual Studio 2015
artifacts:
- path: release_Windows.zip
name: GrowtopiaServer-Windows
after_build:
- 7z a release_Windows.zip %APPVEYOR_BUILD_FOLDER%
-
matrix:
only:
- image: ubuntu1804
build_script:
- sudo apt-get install build-essential
- cd "enet server test"
- cd "enet2"
- cmake CMakeLists.txt
- make
- cp libenet.a ../libenet.a
- cd ..
- g++ -o "enet server test" "enet server test.cpp" -std=c++11 -L. -lenet -iquote.
artifacts:
- path: release_Ubuntu.zip
name: GrowtopiaServer-Ubuntu
after_build:
- 7z a release_Ubuntu.zip $APPVEYOR_BUILD_FOLDER
-
matrix:
only:
- image: macos
build_script:
- cd "enet server test"
- cd "enet2"
- cmake CMakeLists.txt
- make
- cp libenet.a ../libenet.a
- cd ..
- g++ -o "enet server test" "enet server test.cpp" -std=c++11 -L. -lenet -iquote.
artifacts:
- path: release_MacOS.zip
name: GrowtopiaServer-MacOS
after_build:
- 7z a release_MacOS.zip $APPVEYOR_BUILD_FOLDER
deploy:
- provider: GitHub
description: GrowtopiaServer CI Build
auth_token:
secure: 5OeKL0BpXE39SdxcoJ6mZH7EcELGBCnKLHavhELhYtQxuVmt9ZnQu5GzsAOh1rM+